Replace duplicate LED_STRIP_INIT_PRIORITY definitions with dependencies

This commit is contained in:
Kuba Birecki 2021-07-09 10:21:52 +02:00
parent 8d979fbbc3
commit 8561cfc34f
2 changed files with 1 additions and 12 deletions

View file

@ -2,9 +2,3 @@
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
rsource "is31fl3741/Kconfig" rsource "is31fl3741/Kconfig"
config LEG_STRIP_INIT_PRIORITY
int "LED strip initialization priority"
default 90
help
System initialization priority for LED strip drivers.

View file

@ -4,6 +4,7 @@
config IS31FL3741 config IS31FL3741
bool "IS31FL3741 LED Matrix driver" bool "IS31FL3741 LED Matrix driver"
depends on I2C depends on I2C
depends on LED_STRIP
help help
Enable an IS31FL3741 LED Matrix driver. Enable an IS31FL3741 LED Matrix driver.
@ -12,9 +13,3 @@ config IS31FL3741
individually with 8-bit PWM data and 8-bit scaling data which individually with 8-bit PWM data and 8-bit scaling data which
allows 256 steps of linear PWM dimming and 256 steps of DC current allows 256 steps of linear PWM dimming and 256 steps of DC current
adjustable level. adjustable level.
config LED_STRIP_INIT_PRIORITY
int "LED strip initialization priority"
default 90
help
System initialization priority for LED strip drivers.