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:
parent
e338a05e76
commit
3f80ba4444
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user