]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (ina2xx) drop unused platform data
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Thu, 26 Mar 2026 09:30:00 +0000 (10:30 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 31 Mar 2026 02:45:06 +0000 (19:45 -0700)
commit331e5fd5bfd7aae3ab4eb947367b9d609ebb3fb3
tree2abfa7a642ff220928a4ed01045265784aa1131d
parentb95ba51883fdfb60ab2633e0a5320a2f26f5298e
hwmon: (ina2xx) drop unused platform data

Nobody defines struct ina2xx_platform_data. Remove platform data support
from the drivers which still have it (it's effectively dead code) and
remove the header.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://lore.kernel.org/r/20260326-drop-ina2xx-pdata-v1-1-c159437bb2df@oss.qualcomm.com
[groeck: Fixed continuation line alignment]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ina209.c
drivers/iio/adc/ina2xx-adc.c
include/linux/platform_data/ina2xx.h [deleted file]