Re: [PATCH 04/28] char: ipmi: drop owner assignment from platform_drivers

From: Corey Minyard
Date: Tue Dec 23 2014 - 08:50:22 EST


Thanks.

Signed-off-by: Corey Minyard <cminyard@xxxxxxxxxx>

On 12/21/2014 03:14 PM, 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>
> ---
> 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/char/ipmi/ipmi_powernv.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/char/ipmi/ipmi_powernv.c b/drivers/char/ipmi/ipmi_powernv.c
> index 79524ed2a3cb..d7acb04d3982 100644
> --- a/drivers/char/ipmi/ipmi_powernv.c
> +++ b/drivers/char/ipmi/ipmi_powernv.c
> @@ -294,7 +294,6 @@ static const struct of_device_id ipmi_powernv_match[] = {
> static struct platform_driver powernv_ipmi_driver = {
> .driver = {
> .name = "ipmi-powernv",
> - .owner = THIS_MODULE,
> .of_match_table = ipmi_powernv_match,
> },
> .probe = ipmi_powernv_probe,

--
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/