diff options
author | 2024-10-02 14:54:58 +0200 | |
---|---|---|
committer | 2024-10-10 12:16:58 +0100 | |
commit | fceffbfe57af7d9941d08e1a995cccf558d08451 (patch) | |
tree | b4683205deea6235948e5da43997620a18c0a9a7 /include/linux | |
parent | regulator: dt-bindings: vctrl-regulator: convert to YAML (diff) | |
download | wireguard-linux-fceffbfe57af7d9941d08e1a995cccf558d08451.tar.xz wireguard-linux-fceffbfe57af7d9941d08e1a995cccf558d08451.zip |
regulator: max5970: Drop unused structs
After splitting the max5970 into a MFD device clean the remaining
code and drop unused structs.
The struct max5970_data and enum max5970_chip_type aren't used.
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Acked-by: Lee Jones <lee@kernel.org>
Link: https://patch.msgid.link/20241002125500.78278-1-patrick.rudolph@9elements.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mfd/max5970.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/mfd/max5970.h b/include/linux/mfd/max5970.h index 762a7d40c843..fc50e89edfaa 100644 --- a/include/linux/mfd/max5970.h +++ b/include/linux/mfd/max5970.h @@ -16,18 +16,6 @@ #define MAX5978_NUM_SWITCHES 1 #define MAX5970_NUM_LEDS 4 -struct max5970_data { - int num_switches; - u32 irng[MAX5970_NUM_SWITCHES]; - u32 mon_rng[MAX5970_NUM_SWITCHES]; - u32 shunt_micro_ohms[MAX5970_NUM_SWITCHES]; -}; - -enum max5970_chip_type { - TYPE_MAX5978 = 1, - TYPE_MAX5970, -}; - #define MAX5970_REG_CURRENT_L(ch) (0x01 + (ch) * 4) #define MAX5970_REG_CURRENT_H(ch) (0x00 + (ch) * 4) #define MAX5970_REG_VOLTAGE_L(ch) (0x03 + (ch) * 4) |