lkml.org 
[lkml]   [2014]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 04/28] char: ipmi: drop owner assignment from platform_drivers
Thanks.

Signed-off-by: Corey Minyard <cminyard@mvista.com>

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@the-dreams.de>
> ---
> 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,



\
 
 \ /
  Last update: 2014-12-23 15:21    [W:0.327 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site