diff options
author | Hans de Goede <[email protected]> | 2023-05-25 20:33:17 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-06-08 15:56:11 +0100 |
commit | 3f80ba4444dc004f5db473439c2f80837cbe85f6 (patch) | |
tree | 22dcb837ff60350338636d2e6f1352769599af2f | |
parent | e338a05e76cab377c9227c1d4f591b5879d6062a (diff) |
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 <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-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; |