diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-06-25 19:36:09 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-25 22:11:13 +0300 |
commit | aeee55b76bfd100d2612f50d2f9526d760ee2e37 (patch) | |
tree | c2b82294b2ddfb660d4b93ffea89445844eaa5d4 /drivers/regulator | |
parent | d3cc3dfcc20e72d537550dbeebbe4a8faa7c2606 (diff) | |
download | linux-aeee55b76bfd100d2612f50d2f9526d760ee2e37.tar.xz |
regulator: ab8500: Remove unused embedded struct expand_register
Used primarily for the AB8540 which lost support in early 2018.
It is now deemed safe to remove this legacy data structure.
Also fixes W=1 issue:
drivers/regulator/ab8500.c:88: warning: Function parameter or member 'expand_register' not described in 'ab8500_regulator_info'
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200625163614.4001403-6-lee.jones@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/ab8500.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 716ca5bb178e..47b8b6f7b571 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c @@ -59,6 +59,7 @@ struct ab8500_shared_mode { * @voltage_bank: bank to control regulator voltage * @voltage_reg: register to control regulator voltage * @voltage_mask: mask to control regulator voltage + * @expand_register: */ struct ab8500_regulator_info { struct device *dev; @@ -79,12 +80,6 @@ struct ab8500_regulator_info { u8 voltage_bank; u8 voltage_reg; u8 voltage_mask; - struct { - u8 voltage_limit; - u8 voltage_bank; - u8 voltage_reg; - u8 voltage_mask; - } expand_register; }; /* voltage tables for the vauxn/vintcore supplies */ |