]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
hwmon: (pmbus/isl68137) Remove unused enum chips
authorDawei Liu <dawei.liu.jy@renesas.com>
Wed, 18 Mar 2026 02:19:19 +0000 (10:19 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 31 Mar 2026 02:45:06 +0000 (19:45 -0700)
The enum chips is not used anywhere in the driver. Device matching
relies on the variants enum instead. Remove it to clean up the code.

Signed-off-by: Dawei Liu <dawei.liu.jy@renesas.com>
Link: https://lore.kernel.org/r/20260318021921.75-2-dawei.liu.jy@renesas.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/isl68137.c

index 48059ac4a08be6601d9b0dc4fa483c1990acb04b..62d476064bd22fb5b9366c6dd362aea5a805794e 100644 (file)
 #define RAA_DMPVR2_READ_VMON   0xc8
 #define MAX_CHANNELS            4
 
-enum chips {
-       isl68137,
-       isl68220,
-       isl68221,
-       isl68222,
-       isl68223,
-       isl68224,
-       isl68225,
-       isl68226,
-       isl68227,
-       isl68229,
-       isl68233,
-       isl68239,
-       isl69222,
-       isl69223,
-       isl69224,
-       isl69225,
-       isl69227,
-       isl69228,
-       isl69234,
-       isl69236,
-       isl69239,
-       isl69242,
-       isl69243,
-       isl69247,
-       isl69248,
-       isl69254,
-       isl69255,
-       isl69256,
-       isl69259,
-       isl69260,
-       isl69268,
-       isl69269,
-       isl69298,
-       raa228000,
-       raa228004,
-       raa228006,
-       raa228228,
-       raa228244,
-       raa228246,
-       raa229001,
-       raa229004,
-       raa229141,
-       raa229621,
-};
-
 enum variants {
        raa_dmpvr1_2rail,
        raa_dmpvr2_1rail,