regulator: vqmmc-ipq4019: Trivial clean up
authorAxel Lin <axel.lin@ingics.com>
Tue, 14 Jan 2020 06:58:47 +0000 (14:58 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jan 2020 12:43:55 +0000 (12:43 +0000)
commitf72c5835509109715a8d8f0d98fddef089b3a4d8
treeb1443d7246ee943b184215366c4365ad7a2939ff
parentd47e4f978f2a2c0ffce543e58d30a00d1f850727
regulator: vqmmc-ipq4019: Trivial clean up

A few trivial clean up:
* Make ipq4019_regulator_voltage_ops and vmmc_regulator const
* Make ipq4019_vmmcq_regmap_config static
* Use regulator_map_voltage_ascend

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20200114065847.31667-2-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/vqmmc-ipq4019-regulator.c