]> git.hungrycats.org Git - linux/commit
hwmon: (pmbus/mp2869) Remove unused driver data
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Tue, 12 May 2026 16:28:56 +0000 (18:28 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 9 Jun 2026 15:22:59 +0000 (08:22 -0700)
commit352b18d2532944f3f8fce8e6bff70c6312b0c192
tree56bf1b4d121723fb036d3e566f2f2b98bf377574
parent624fce2eec59ab28fd05c235ee26d3cbf1cbef60
hwmon: (pmbus/mp2869) Remove unused driver data

The driver doesn't make use of the i2c .driver_data and the of .data. So
drop the useless and irritating assignments.

While touching all these lines, use named initializers for the i2c
device ids and convert to the most common usage of spacing in such
arrays.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/dcfcc82a93da77b55503998c5c7acf2a80c4a615.1778603083.git.ukleinek@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/mp2869.c