LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] staging: mt7621-gpio: remove redundant owner assignments of drivers
@ 2018-03-20  7:45 hariprasath.elango
  2018-03-20 22:26 ` NeilBrown
  0 siblings, 1 reply; 2+ messages in thread
From: hariprasath.elango @ 2018-03-20  7:45 UTC (permalink / raw)
  To: blogic, gregkh
  Cc: gehariprasath, HariPrasath Elango, NeilBrown, devel, linux-kernel

From: HariPrasath Elango <hariprasath.elango@gmail.com>

Remove the reduntant owner initialization from this platform driver as
the platform_driver_register() takes care of it.

Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
---
 drivers/staging/mt7621-gpio/gpio-mt7621.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/mt7621-gpio/gpio-mt7621.c b/drivers/staging/mt7621-gpio/gpio-mt7621.c
index 5c57abe..830d429 100644
--- a/drivers/staging/mt7621-gpio/gpio-mt7621.c
+++ b/drivers/staging/mt7621-gpio/gpio-mt7621.c
@@ -339,7 +339,6 @@ static struct platform_driver mediatek_gpio_driver = {
 	.probe = mediatek_gpio_probe,
 	.driver = {
 		.name = "mt7621_gpio",
-		.owner = THIS_MODULE,
 		.of_match_table = mediatek_gpio_match,
 	},
 };
-- 
2.10.0.GIT

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: mt7621-gpio: remove redundant owner assignments of drivers
  2018-03-20  7:45 [PATCH] staging: mt7621-gpio: remove redundant owner assignments of drivers hariprasath.elango
@ 2018-03-20 22:26 ` NeilBrown
  0 siblings, 0 replies; 2+ messages in thread
From: NeilBrown @ 2018-03-20 22:26 UTC (permalink / raw)
  To: hariprasath.elango, blogic, gregkh
  Cc: devel, linux-kernel, HariPrasath Elango


[-- Attachment #1.1: Type: text/plain, Size: 986 bytes --]

On Tue, Mar 20 2018, hariprasath.elango@gmail.com wrote:

> From: HariPrasath Elango <hariprasath.elango@gmail.com>
>
> Remove the reduntant owner initialization from this platform driver as
> the platform_driver_register() takes care of it.
>
> Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>
> ---
>  drivers/staging/mt7621-gpio/gpio-mt7621.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/staging/mt7621-gpio/gpio-mt7621.c b/drivers/staging/mt7621-gpio/gpio-mt7621.c
> index 5c57abe..830d429 100644
> --- a/drivers/staging/mt7621-gpio/gpio-mt7621.c
> +++ b/drivers/staging/mt7621-gpio/gpio-mt7621.c
> @@ -339,7 +339,6 @@ static struct platform_driver mediatek_gpio_driver = {
>  	.probe = mediatek_gpio_probe,
>  	.driver = {
>  		.name = "mt7621_gpio",
> -		.owner = THIS_MODULE,
>  		.of_match_table = mediatek_gpio_match,
>  	},
>  };
> -- 
> 2.10.0.GIT

Reviewed-by: NeilBrown <neil@brown.name>

Thanks,
NeilBrown

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 169 bytes --]

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-20 22:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-20  7:45 [PATCH] staging: mt7621-gpio: remove redundant owner assignments of drivers hariprasath.elango
2018-03-20 22:26 ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).