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
This commit is contained in:
Hans de Goede 2023-05-25 20:33:17 +02:00 committed by Lee Jones
parent e338a05e76
commit 3f80ba4444

View File

@ -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;