diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-06-30 12:26:39 +0300 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2025-07-02 19:18:01 +0300 |
| commit | cb335325b1431152f696c53e32465ba192cd119a (patch) | |
| tree | ed0db628b2bc3a9c15b76cd4b6c9564d59497553 /drivers/leds | |
| parent | c3c38e80016548685e439b23999b4f0bd0ad7e05 (diff) | |
| download | linux-cb335325b1431152f696c53e32465ba192cd119a.tar.xz | |
leds: Unexport of_led_get()
There are no users outside the module.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250630092639.1574860-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds')
| -rw-r--r-- | drivers/leds/led-class.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c index c20ac8ccf52b..669c21ef8611 100644 --- a/drivers/leds/led-class.c +++ b/drivers/leds/led-class.c @@ -256,7 +256,7 @@ static const struct class leds_class = { * Returns the LED device parsed from the phandle specified in the "leds" * property of a device tree node or a negative error-code on failure. */ -struct led_classdev *of_led_get(struct device_node *np, int index) +static struct led_classdev *of_led_get(struct device_node *np, int index) { struct device *led_dev; struct device_node *led_node; @@ -270,7 +270,6 @@ struct led_classdev *of_led_get(struct device_node *np, int index) return led_module_get(led_dev); } -EXPORT_SYMBOL_GPL(of_led_get); /** * led_put() - release a LED device |
