diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2023-04-06 21:41:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-04-11 14:24:53 +0200 |
commit | d5edc0e36bb1657d2c46b7521010d4f0894a5c74 (patch) | |
tree | 71e475ca8abdc1945cf7ba5a019ccd742d865d3e /drivers/regulator | |
parent | regulator: dt-bindings: fcs,fan53555: Add support for RK860X (diff) | |
download | linux-d5edc0e36bb1657d2c46b7521010d4f0894a5c74.tar.xz linux-d5edc0e36bb1657d2c46b7521010d4f0894a5c74.zip |
regulator: fan53555: Remove unused *_SLEW_SHIFT definitions
Commit b61ac767db4d ("regulator: fan53555: Convert to use
regulator_set_ramp_delay_regmap") removed the slew_shift member from
struct fan53555_device_info, hence the {CTL,TCS}_SLEW_SHIFT definitions
remained unused. Drop them.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20230406194158.963352-5-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/fan53555.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c index 41537c45f036..cdab382ce4b8 100644 --- a/drivers/regulator/fan53555.c +++ b/drivers/regulator/fan53555.c @@ -49,7 +49,6 @@ /* Control bit definitions */ #define CTL_OUTPUT_DISCHG (1 << 7) #define CTL_SLEW_MASK (0x7 << 4) -#define CTL_SLEW_SHIFT 4 #define CTL_RESET (1 << 2) #define CTL_MODE_VSEL0_MODE BIT(0) #define CTL_MODE_VSEL1_MODE BIT(1) @@ -60,7 +59,6 @@ #define TCS_VSEL0_MODE (1 << 7) #define TCS_VSEL1_MODE (1 << 6) -#define TCS_SLEW_SHIFT 3 #define TCS_SLEW_MASK GENMASK(4, 3) enum fan53555_vendor { |