]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86: int3472: Remove unused sensor_config struct member
authorHans de Goede <hdegoede@redhat.com>
Wed, 7 May 2025 18:47:35 +0000 (20:47 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 8 May 2025 14:36:37 +0000 (17:36 +0300)
sensor_config is not used anywhere and its struct int3472_sensor_config
type also is not declared anywhere, drop it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20250507184737.154747-5-hdegoede@redhat.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
include/linux/platform_data/x86/int3472.h

index 89410f0cb73a25bf197e52692af1d334b0911bcb..78276a11c48d6c0de0bfaf165c40042d314e58c6 100644 (file)
@@ -110,8 +110,6 @@ struct int3472_discrete_device {
        struct acpi_device *sensor;
        const char *sensor_name;
 
-       const struct int3472_sensor_config *sensor_config;
-
        struct int3472_gpio_regulator regulators[INT3472_MAX_REGULATORS];
 
        struct int3472_clock {