1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/platform/x86/intel/int3472
Tom Rix 9ecedaf6f8 platform/x86: int3472/discrete: set variable skl_int3472_regulator_second_sensor storage-class-specifier to static
smatch reports
drivers/platform/x86/intel/int3472/clk_and_regulator.c:263:28: warning: symbol
  'skl_int3472_regulator_second_sensor' was not declared. Should it be static?

This variable is only used in its defining file, so it should be static.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230702134419.3438361-1-trix@redhat.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2023-07-10 15:26:07 +02:00
..
clk_and_regulator.c platform/x86: int3472/discrete: set variable skl_int3472_regulator_second_sensor storage-class-specifier to static 2023-07-10 15:26:07 +02:00
common.c ACPI: scan: Add acpi_dev_get_next_consumer_dev() 2022-09-24 19:12:32 +02:00
common.h platform/x86: int3472: discrete: Add alternative "AVDD" regulator supply name 2023-06-20 12:39:27 +02:00
discrete.c platform/x86: int3472: discrete: Log a warning if the pin-numbers don't match 2023-06-20 12:39:34 +02:00
Kconfig platform/x86: int3472/discrete: add LEDS_CLASS dependency 2023-02-10 17:08:24 +01:00
led.c platform/x86: int3472/discrete: Create a LED class device for the privacy LED 2023-02-03 10:22:35 +01:00
Makefile platform/x86: int3472/discrete: Create a LED class device for the privacy LED 2023-02-03 10:22:35 +01:00
tps68470.c platform/x86: int3472: Switch back to use struct i2c_driver's .probe() 2023-06-13 12:32:47 +02:00
tps68470.h platform/x86: int3472: Support multiple gpio lookups in board data 2022-09-24 19:12:32 +02:00
tps68470_board_data.c platform/x86: int3472: Add GPIOs to Surface Go 3 Board data 2023-03-07 12:08:30 +01:00