summaryrefslogtreecommitdiff
path: root/drivers/leds
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-01-03 16:12:47 +0300
committerLee Jones <lee@kernel.org>2023-01-30 11:03:35 +0300
commit156a5bb89ca6f3edd2be0bfd0de15e575442927e (patch)
tree996240383d6867a0a87c3f2649d124589c192feb /drivers/leds
parentd35d0c9de762e003129dfc1240df7152a4bc31e8 (diff)
downloadlinux-156a5bb89ca6f3edd2be0bfd0de15e575442927e.tar.xz
leds: Move led_init_default_state_get() to the global header
There are users inside and outside LED framework that have implemented a local copy of led_init_default_state_get(). In order to deduplicate that, as the first step move the declaration from LED header to the global one. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20230103131256.33894-3-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds.h b/drivers/leds/leds.h
index aa64757a4d89..345062ccabda 100644
--- a/drivers/leds/leds.h
+++ b/drivers/leds/leds.h
@@ -27,7 +27,6 @@ ssize_t led_trigger_read(struct file *filp, struct kobject *kobj,
ssize_t led_trigger_write(struct file *filp, struct kobject *kobj,
struct bin_attribute *bin_attr, char *buf,
loff_t pos, size_t count);
-enum led_default_state led_init_default_state_get(struct fwnode_handle *fwnode);
extern struct rw_semaphore leds_list_lock;
extern struct list_head leds_list;