summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-09-28 00:37:42 +0300
committerLee Jones <lee@kernel.org>2024-10-09 17:37:34 +0300
commite7160d5ee369c016418ba239516d24f086130aa4 (patch)
treedfe2977c4b0d4d6a4b74db115e869c5c556a0621
parent026432e7c26484eb613d8224c98e554c7bc7d768 (diff)
downloadlinux-e7160d5ee369c016418ba239516d24f086130aa4.tar.xz
leds: gpio: Remove unused local leds.h
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>
-rw-r--r--drivers/leds/leds-gpio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c
index 7d4488191241..0d59b0bbc002 100644
--- a/drivers/leds/leds-gpio.c
+++ b/drivers/leds/leds-gpio.c
@@ -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;