summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-05-25 20:33:17 +0200
committerLee Jones <lee@kernel.org>2023-06-08 16:56:11 +0200
commit3f80ba4444dc004f5db473439c2f80837cbe85f6 (patch)
tree22dcb837ff60350338636d2e6f1352769599af2f /drivers/leds
parentdt-bindings: leds: Add binding for AW200xx (diff)
downloadlinux-3f80ba4444dc004f5db473439c2f80837cbe85f6.tar.xz
linux-3f80ba4444dc004f5db473439c2f80837cbe85f6.zip
leds: cht-wcove: Mark cht_wc_leds_brightness_get() static
cht_wc_leds_brightness_get() is only used internally, mark it static. Cc: Yauhen Kharuzhy <jekhor@gmail.com> Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202305260008.QCRrKILf-lkp@intel.com/ Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20230525183317.129232-1-hdegoede@redhat.com
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds-cht-wcove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-cht-wcove.c b/drivers/leds/leds-cht-wcove.c
index 0cfebee98910..0a5c30e5ed5d 100644
--- a/drivers/leds/leds-cht-wcove.c
+++ b/drivers/leds/leds-cht-wcove.c
@@ -141,7 +141,7 @@ out:
return ret;
}
-enum led_brightness cht_wc_leds_brightness_get(struct led_classdev *cdev)
+static enum led_brightness cht_wc_leds_brightness_get(struct led_classdev *cdev)
{
struct cht_wc_led *led = container_of(cdev, struct cht_wc_led, cdev);
unsigned int val;