regulator: cpcap: Remove unused vsel_shift from struct cpcap_regulator
authorAxel Lin <axel.lin@ingics.com>
Tue, 26 Feb 2019 05:52:29 +0000 (13:52 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 26 Feb 2019 16:31:50 +0000 (16:31 +0000)
commitde33873e9f95ee750ca0c17e0b960bff7d233a4e
treedfde198cb5327f1a91fd3e8ebc8661c46de3968a
parent5ee3d33d107feee21bd52697eeab8c7c726062f4
regulator: cpcap: Remove unused vsel_shift from struct cpcap_regulator

This driver uses regulator_get/set_voltage_sel_regmap so it does not use
vsel_shift. Actually, vsel_shift can be calculated by vsel_mask setting.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/cpcap-regulator.c