regulator: mcp16502: Remove setup_regulators function
authorAxel Lin <axel.lin@ingics.com>
Thu, 11 Apr 2019 01:59:23 +0000 (09:59 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 11 Apr 2019 11:17:32 +0000 (12:17 +0100)
commit784c24c3e45cc665226e8529d79f319af7cfd09c
treec55651ebc0a47945b3fc61e51671b4d0c35a2821
parent4cf469539b635d2588df4f48bf721890f5f2ade5
regulator: mcp16502: Remove setup_regulators function

It seems a little bit odd current code pass struct regulator_config rather
than a pointer to setup_regulators. The setup_regulators is so simple and
only has one caller, so remove it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mcp16502.c