]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite668f64201f27a8107c7c30feb0927e82b00c33b
treec55651ebc0a47945b3fc61e51671b4d0c35a2821
parenta02d587574778eb03398eeb319e8adc15c75d814
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