]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: Drop unused i2c driver_data
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Wed, 13 May 2026 16:44:57 +0000 (18:44 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 9 Jun 2026 15:22:59 +0000 (08:22 -0700)
commitb3de407ae66ffef6290a31363205e9751db0537a
treec991c63103a65db935305d35a6b1a1bc9d7c811f
parentc057f9863ee5c8ba725e815f0136dca60d657475
hwmon: Drop unused i2c driver_data

The four drivers all don't make use of the value that was explicitly
assigned to the .driver_data member. Drop the assignment.

While touching these lines also make the assignments use named
initializers and drop a comma after the end-of-list marker.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz> # For
Link: https://lore.kernel.org/r/e8ceb3931975813545a8b478cc1a71b4ede9a6c0.1778688803.git.u.kleine-koenig@baylibre.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm80.c
drivers/hwmon/pmbus/aps-379.c
drivers/hwmon/pmbus/lt3074.c
drivers/hwmon/tsc1641.c