aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorPaul Gortmaker <[email protected]>2015-12-13 16:45:51 -0500
committerJacek Anaszewski <[email protected]>2016-01-04 09:57:39 +0100
commitf7d98a65d031a0e08b102f4e5546bd5a45aa55dd (patch)
tree5290a66b85b2f9b352c941e4370de453c69343aa /tools/perf/util/trace-event-scripting.c
parent067a8f3cad97f7b7d21ea05cbd2289aaa0f259df (diff)
leds: syscon: Make the driver explicitly non-modular
The Kconfig currently controlling compilation of this code is: drivers/leds/Kconfig:config LEDS_SYSCON drivers/leds/Kconfig: bool "LED support for LEDs on system controllers" ...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. We explicitly disallow a driver unbind, since that doesn't have a sensible use case anyway, and it allows us to drop the ".remove" code for non-modular drivers. Since module_platform_driver() uses the same init level priority as builtin_platform_driver() the init ordering remains unchanged with this commit. Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code. Cc: Richard Purdie <[email protected]> Cc: [email protected] Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: Jacek Anaszewski <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions