[LEDE-DEV] [PATCH 1/4] staging: mt7621-gpio: remove redundant owner assignments of drivers

John Crispin john at phrozen.org
Thu May 17 01:11:11 PDT 2018



On 17/05/18 02:42, Rosen Penev wrote:
> From: HariPrasath Elango <hariprasath.elango at 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 at gmail.com>
> Reviewed-by: NeilBrown <neil at brown.name>
> Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> ---
I am not really sure if it makes sense to backport of this essentially 
no-op patches.
     John

>   .../0028-GPIO-ralink-add-mt7621-gpio-controller.patch          | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/target/linux/ramips/patches-4.14/0028-GPIO-ralink-add-mt7621-gpio-controller.patch b/target/linux/ramips/patches-4.14/0028-GPIO-ralink-add-mt7621-gpio-controller.patch
> index d657274efe..ea341dc33c 100644
> --- a/target/linux/ramips/patches-4.14/0028-GPIO-ralink-add-mt7621-gpio-controller.patch
> +++ b/target/linux/ramips/patches-4.14/0028-GPIO-ralink-add-mt7621-gpio-controller.patch
> @@ -48,7 +48,7 @@ Signed-off-by: John Crispin <blogic at openwrt.org>
>   +obj-$(CONFIG_GPIO_MT7621)	+= gpio-mt7621.o
>   --- /dev/null
>   +++ b/drivers/gpio/gpio-mt7621.c
> -@@ -0,0 +1,354 @@
> +@@ -0,0 +1,353 @@
>   +/*
>   + * This program is free software; you can redistribute it and/or modify it
>   + * under the terms of the GNU General Public License version 2 as published
> @@ -391,7 +391,6 @@ Signed-off-by: John Crispin <blogic at openwrt.org>
>   +	.probe = mediatek_gpio_probe,
>   +	.driver = {
>   +		.name = "mt7621_gpio",
> -+		.owner = THIS_MODULE,
>   +		.of_match_table = mediatek_gpio_match,
>   +	},
>   +};




More information about the Lede-dev mailing list