[PATCH 8/8] drivers/pinctrl: clean up samsung modular vs. non-modular distinctions
Sylwester Nawrocki
s.nawrocki at samsung.com
Tue Mar 15 03:10:20 PDT 2016
On 02/29/2016 09:48 PM, Paul Gortmaker wrote:
> Fixups here tend to be more all over the map vs. some of the other
> repeated/systematic ones we've seen elsewhere.
>
> We remove module.h from code that isn't doing anything modular at
> all; if they have __init sections, then replace it with init.h
>
> A couple drivers have module_exit() code that is essentially orphaned,
> and so we remove that.
>
> There are no module_init replacements, so we have no concerns wrt.
> initcall ordering changes as per some of the other cleanups.
>
> Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
>
> We also delete the MODULE_LICENSE tag etc. since all that information
> was (or is now) contained at the top of the file in the comments.
>
> Cc: Tomasz Figa <tomasz.figa at gmail.com>
> Cc: Thomas Abraham <thomas.ab at samsung.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-samsung-soc at vger.kernel.org
> Cc: linux-gpio at vger.kernel.org
> Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
> ---
> drivers/pinctrl/samsung/pinctrl-exynos.c | 1 -
> drivers/pinctrl/samsung/pinctrl-exynos5440.c | 15 +++------------
> drivers/pinctrl/samsung/pinctrl-s3c24xx.c | 2 +-
> drivers/pinctrl/samsung/pinctrl-s3c64xx.c | 2 +-
> drivers/pinctrl/samsung/pinctrl-samsung.c | 12 +-----------
> 5 files changed, 6 insertions(+), 26 deletions(-)
Acked-by: Sylwester Nawrocki <s.nawrocki at samsung.com>
--
Thanks,
Sylwester
More information about the linux-arm-kernel
mailing list