]> asedeno.scripts.mit.edu Git - linux.git/commit
leds: ledtrig-ide-disk: Make the driver explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 13 Dec 2015 21:45:50 +0000 (16:45 -0500)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 4 Jan 2016 08:57:39 +0000 (09:57 +0100)
commit067a8f3cad97f7b7d21ea05cbd2289aaa0f259df
tree07fb0ce5ff4f787904864c82f98f0e148265c68b
parent227a0ca17eadf339f489683ac2cf4eb33b2e5319
leds: ledtrig-ide-disk: Make the driver explicitly non-modular

The Kconfig for this driver is currently:

config LEDS_TRIGGER_IDE_DISK
        bool "LED IDE Disk Trigger"

...meaning that it currently is not being built as a module by anyone.
Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.

Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.

We also delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

Cc: Bryan Wu <cooloney@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: linux-leds@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
drivers/leds/trigger/ledtrig-ide-disk.c