From: Dawei Liu <dawei.liu.jy@renesas.com>
To: linux@roeck-us.net
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org, devicetree@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, corbet@lwn.net,
skhan@linuxfoundation.org, geert+renesas@glider.be,
magnus.damm@gmail.com, grant.peltier.jg@renesas.com,
linda.xin.jg@renesas.com, tabreztalks@gmail.com,
Dawei Liu <dawei.liu.jy@renesas.com>
Subject: [PATCH v2 1/3] hwmon: (pmbus/isl68137) Remove unused enum chips
Date: Wed, 18 Mar 2026 10:19:19 +0800 [thread overview]
Message-ID: <20260318021921.75-2-dawei.liu.jy@renesas.com> (raw)
In-Reply-To: <20260318021921.75-1-dawei.liu.jy@renesas.com>
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>
---
drivers/hwmon/pmbus/isl68137.c | 46 ----------------------------------
1 file changed, 46 deletions(-)
diff --git a/drivers/hwmon/pmbus/isl68137.c b/drivers/hwmon/pmbus/isl68137.c
index 78cff9712..3346afdf3 100644
--- a/drivers/hwmon/pmbus/isl68137.c
+++ b/drivers/hwmon/pmbus/isl68137.c
@@ -23,52 +23,6 @@
#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,
--
2.34.1
next prev parent reply other threads:[~2026-03-18 2:19 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-16 5:35 [PATCH 1/2] hwmon/pmbus: (isl68137) Add support for Renesas RAA228942 and RAA228943 Dawei Liu
2026-03-16 5:35 ` [PATCH 2/2] dt-bindings: hwmon: isl68137: Add compatible string for " Dawei Liu
2026-03-16 8:25 ` Krzysztof Kozlowski
2026-03-16 9:00 ` Dawei Liu
2026-03-18 8:24 ` Krzysztof Kozlowski
2026-03-18 18:35 ` Krzysztof Kozlowski
2026-03-16 15:47 ` [PATCH 1/2] hwmon/pmbus: (isl68137) Add support for Renesas " Guenter Roeck
2026-03-17 2:50 ` Dawei Liu
2026-03-17 3:52 ` Guenter Roeck
2026-03-18 2:19 ` [PATCH v2 0/3] hwmon/pmbus: isl68137: Add RAA228942/RAA228943 support Dawei Liu
2026-03-18 2:19 ` Dawei Liu [this message]
2026-03-18 4:48 ` [PATCH v2 1/3] hwmon: (pmbus/isl68137) Remove unused enum chips Guenter Roeck
2026-03-18 2:19 ` [PATCH v2 2/3] hwmon: (pmbus/isl68137) Add support for Renesas RAA228942 and RAA228943 Dawei Liu
2026-03-18 5:23 ` Guenter Roeck
2026-03-18 8:25 ` Krzysztof Kozlowski
2026-03-18 17:49 ` Guenter Roeck
2026-03-18 2:19 ` [PATCH v2 3/3] dt-bindings: hwmon: isl68137: Add compatible strings for " Dawei Liu
2026-03-18 5:43 ` Dawei Liu
2026-03-18 8:23 ` Krzysztof Kozlowski
2026-03-19 2:05 ` Dawei Liu
2026-03-21 20:46 ` Krzysztof Kozlowski
2026-03-23 4:22 ` Dawei Liu
2026-03-23 7:20 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260318021921.75-2-dawei.liu.jy@renesas.com \
--to=dawei.liu.jy@renesas.com \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=grant.peltier.jg@renesas.com \
--cc=krzk+dt@kernel.org \
--cc=linda.xin.jg@renesas.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=magnus.damm@gmail.com \
--cc=robh@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=tabreztalks@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox