projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf3fba7
)
leds: flash: Remove unused local leds.h
author
Javier Carrasco
<javier.carrasco.cruz@gmail.com>
Fri, 27 Sep 2024 21:37:40 +0000
(23:37 +0200)
committer
Lee Jones
<lee@kernel.org>
Wed, 9 Oct 2024 14:37:33 +0000
(15:37 +0100)
This driver does not require any element from the local leds.h. Drop
unused header.
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link:
https://lore.kernel.org/r/20240927-leds_unused_leds_h-v1-1-46fbf41ed4ae@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/led-class-flash.c
patch
|
blob
|
history
diff --git
a/drivers/leds/led-class-flash.c
b/drivers/leds/led-class-flash.c
index
6fe9d70
..
f4e26ce
100644
(file)
--- a/
drivers/leds/led-class-flash.c
+++ b/
drivers/leds/led-class-flash.c
@@
-12,7
+12,6
@@
#include <linux/leds.h>
#include <linux/module.h>
#include <linux/slab.h>
-#include "leds.h"
#define has_flash_op(fled_cdev, op) \
(fled_cdev && fled_cdev->ops->op)