]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: ab8500: Remove unused embedded struct expand_register
authorLee Jones <lee.jones@linaro.org>
Thu, 25 Jun 2020 16:36:09 +0000 (17:36 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 25 Jun 2020 19:11:13 +0000 (20:11 +0100)
commit4c6bd212b4ea7cf76ca88d7f74048c463785cfef
treec2b82294b2ddfb660d4b93ffea89445844eaa5d4
parent93b907d3048a86189777eaf98ebacd354f13238e
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>
drivers/regulator/ab8500.c