]> asedeno.scripts.mit.edu Git - linux.git/commit
pinctrl: samsung: Clean up modular vs. non-modular distinctions
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 22 May 2017 20:56:46 +0000 (16:56 -0400)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 23 May 2017 14:49:17 +0000 (16:49 +0200)
commit8208b28a7a32edd58da50292b1f92d41993a9631
tree648645a2011fb4afe380f5a54851552cf8bceb4b
parent7ddaa43ee9fdd7f5cb0cec624d0a970701a68375
pinctrl: samsung: Clean up modular vs. non-modular distinctions

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.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/pinctrl/samsung/pinctrl-exynos.c
drivers/pinctrl/samsung/pinctrl-exynos5440.c
drivers/pinctrl/samsung/pinctrl-s3c24xx.c
drivers/pinctrl/samsung/pinctrl-s3c64xx.c
drivers/pinctrl/samsung/pinctrl-samsung.c