]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
leds: gpio: Remove unused local leds.h
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Fri, 27 Sep 2024 21:37:42 +0000 (23:37 +0200)
committerLee Jones <lee@kernel.org>
Wed, 9 Oct 2024 14:37:34 +0000 (15:37 +0100)
Commit 156a5bb89ca6 ("leds: Move led_init_default_state_get() to the
global header") moved the only element leds-gpio required from the local
leds.h to its global counterpart. Drop the inclusion of the local leds.h
as it is no longer used.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20240927-leds_unused_leds_h-v1-3-46fbf41ed4ae@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-gpio.c

index 7d44881912412e369c22464d9f9fab74b23a97c8..0d59b0bbc0020cae4d37c3ea05afeacac700edd1 100644 (file)
@@ -21,8 +21,6 @@
 #include <linux/slab.h>
 #include <linux/types.h>
 
-#include "leds.h"
-
 struct gpio_led_data {
        struct led_classdev cdev;
        struct gpio_desc *gpiod;