[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250421105843.rxgctjw3jrkwuxsd@vireshk-i7>
Date: Mon, 21 Apr 2025 16:28:43 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: webgeek1234@...il.com
Cc: "Rafael J. Wysocki" <rafael@...nel.org>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-tegra@...r.kernel.org
Subject: Re: [PATCH v2 2/2] cpufreq: tegra124: Allow building as a module
On 21-04-25, 03:13, Aaron Kling via B4 Relay wrote:
> +static void tegra124_cpufreq_remove(struct platform_device *pdev)
> +{
> + struct tegra124_cpufreq_priv *priv = dev_get_drvdata(&pdev->dev);
> +
> + if (!IS_ERR(priv->cpufreq_dt_pdev))
> + platform_device_unregister(priv->cpufreq_dt_pdev);
> +}
Ideally this should undo everything probe() would have done. There are
a lot of clk_put() calls in the error path of probe, I think they must
be done here ?
Also I would require an Ack from Thierry or some other maintainer of
the driver to get these changes in.
Thanks.
--
viresh
Powered by blists - more mailing lists