diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-05-25 20:33:17 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-06-08 16:56:11 +0200 |
commit | 3f80ba4444dc004f5db473439c2f80837cbe85f6 (patch) | |
tree | 22dcb837ff60350338636d2e6f1352769599af2f /drivers/leds | |
parent | dt-bindings: leds: Add binding for AW200xx (diff) | |
download | linux-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.c | 2 |
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; |