]> www.infradead.org Git - users/jedix/linux-maple.git/commit
power: ip5xxx_power: Make use of i2c_get_match_data()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 13 Feb 2025 11:45:04 +0000 (13:45 +0200)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 13 Feb 2025 15:47:21 +0000 (16:47 +0100)
commitc6250d0eab82da7af78e8d010360c91f33cbc242
treec1e35ca708128a6afec1ba4b8faf8e193a3bc621
parenta64dcfb451e254085a7daee5fe51bf22959d52d3
power: ip5xxx_power: Make use of i2c_get_match_data()

Get matching data in one step by switching to use i2c_get_match_data().

Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/power/supply/ip5xxx_power.c