regulator: rc5t583: Get rid of struct rc5t583_regulator
authorAxel Lin <axel.lin@ingics.com>
Wed, 27 Mar 2019 11:54:13 +0000 (19:54 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 1 Apr 2019 08:17:11 +0000 (15:17 +0700)
commitc07608f737bd5ecf336b68427d4c9671283bf7b9
tree76d76d7a32c9b6db4f1b2ab8a39916dccfcf0fcf
parent7cae255d2757eb085736be082df3ef4140846bc9
regulator: rc5t583: Get rid of struct rc5t583_regulator

The struct rc5t583_regulator only has 2 members, the *rdev is no longer
used because this driver is using devm_regulator_register now. After remove
*rdev, only *reg_info left. We can use struct rc5t583_regulator_info
directly, so remove struct rc5t583_regulator.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rc5t583-regulator.c