kernel: kconfig: Disable DEVICE_DEINIT_SUPPORT by default
This Kconfig, which it itself admits is for a "very specific case" was set to default as yes, this includes extra code in drivers with this functionality and increases driver struct size for cases where this function isn't needed (i.e. all because it's enabled by default), therefore change it to be opt-in rather than opt-out Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
committed by
Fabio Baltieri
parent
005a292bbd
commit
b128e51994
@@ -35,7 +35,6 @@ config DEVICE_DT_METADATA
|
||||
|
||||
config DEVICE_DEINIT_SUPPORT
|
||||
bool "Support device de-initialization"
|
||||
default y
|
||||
help
|
||||
In very specific case, it might be necessary to de-initialize
|
||||
a device at runtime. This is possible by providing a function
|
||||
|
||||
Reference in New Issue
Block a user