Re: [PATCH 18/28] thermal: drop owner assignment from platform_drivers
From: Zhang Rui
Date: Sun Dec 21 2014 - 22:02:16 EST
On Sun, 2014-12-21 at 22:14 +0100, Wolfram Sang wrote:
> This platform_driver does not need to set an owner, it will be populated by the
> driver core.
>
> Signed-off-by: Wolfram Sang <wsa@xxxxxxxxxxxxx>
both PATCH 18/28 and 19/28 look good to me. applied.
thanks,
rui
> ---
> Generated with coccinelle. SmPL file is in the introductory msg. The big
> cleanup was pulled in this merge window. This series catches the bits fallen
> through. The patches shall go in via the subsystem trees.
>
> drivers/thermal/rockchip_thermal.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c
> index 1bcddfc60e91..9c6ce548e363 100644
> --- a/drivers/thermal/rockchip_thermal.c
> +++ b/drivers/thermal/rockchip_thermal.c
> @@ -677,7 +677,6 @@ static SIMPLE_DEV_PM_OPS(rockchip_thermal_pm_ops,
> static struct platform_driver rockchip_thermal_driver = {
> .driver = {
> .name = "rockchip-thermal",
> - .owner = THIS_MODULE,
> .pm = &rockchip_thermal_pm_ops,
> .of_match_table = of_rockchip_thermal_match,
> },
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/