From 8561cfc34f76eb5a3c10efbc788203a093295073 Mon Sep 17 00:00:00 2001 From: Kuba Birecki Date: Fri, 9 Jul 2021 10:21:52 +0200 Subject: [PATCH] Replace duplicate LED_STRIP_INIT_PRIORITY definitions with dependencies --- app/drivers/led_strip/Kconfig | 6 ------ app/drivers/led_strip/is31fl3741/Kconfig | 7 +------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/app/drivers/led_strip/Kconfig b/app/drivers/led_strip/Kconfig index 22f77819..2277a777 100644 --- a/app/drivers/led_strip/Kconfig +++ b/app/drivers/led_strip/Kconfig @@ -2,9 +2,3 @@ # SPDX-License-Identifier: MIT rsource "is31fl3741/Kconfig" - -config LEG_STRIP_INIT_PRIORITY - int "LED strip initialization priority" - default 90 - help - System initialization priority for LED strip drivers. diff --git a/app/drivers/led_strip/is31fl3741/Kconfig b/app/drivers/led_strip/is31fl3741/Kconfig index 0db07f07..eee70914 100644 --- a/app/drivers/led_strip/is31fl3741/Kconfig +++ b/app/drivers/led_strip/is31fl3741/Kconfig @@ -4,6 +4,7 @@ config IS31FL3741 bool "IS31FL3741 LED Matrix driver" depends on I2C + depends on LED_STRIP help Enable an IS31FL3741 LED Matrix driver. @@ -12,9 +13,3 @@ config IS31FL3741 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 adjustable level. - -config LED_STRIP_INIT_PRIORITY - int "LED strip initialization priority" - default 90 - help - System initialization priority for LED strip drivers.