linux/drivers/leds/flash
Tom Rix 22dc3789b7 leds: flash: Set variables mvflash_{3,4}ch_regs storage-class-specifier to static
Smatch reports:

  drivers/leds/flash/leds-qcom-flash.c:103:18: warning:
    symbol 'mvflash_3ch_regs' was not declared. Should it be static?
  drivers/leds/flash/leds-qcom-flash.c:115:18: warning:
    symbol 'mvflash_4ch_regs' was not declared. Should it be static?

These variables are only used locally, so it should be static.

Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230317191341.1670660-1-trix@redhat.com
2023-03-30 13:58:24 +01:00
..
Kconfig leds: flash: mt6370: Add MediaTek MT6370 flashlight support 2023-03-23 14:54:08 +00:00
leds-aat1290.c leds: aat1290: Move driver to flash subdirectory 2021-07-12 10:30:04 +02:00
leds-as3645a.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
leds-ktd2692.c leds: ktd2692: Make aux-gpios optional 2022-05-07 23:12:19 +02:00
leds-lm3601x.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
leds-max77693.c leds: max77693: Move driver to flash subdirectory 2021-07-12 10:30:05 +02:00
leds-mt6360.c leds: mt6360: Get rid of custom led_init_default_state_get() 2023-01-30 08:03:39 +00:00
leds-mt6370-flash.c leds: flash: mt6370: Add MediaTek MT6370 flashlight support 2023-03-23 14:54:08 +00:00
leds-qcom-flash.c leds: flash: Set variables mvflash_{3,4}ch_regs storage-class-specifier to static 2023-03-30 13:58:24 +01:00
leds-rt4505.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
leds-rt8515.c leds: rt8515: Put fwnode in any case during ->probe() 2021-08-03 23:49:37 +02:00
leds-sgm3140.c leds: sgm3140: Add ocs,ocp8110 compatible 2022-02-12 12:27:53 +01:00
Makefile leds: flash: mt6370: Add MediaTek MT6370 flashlight support 2023-03-23 14:54:08 +00:00