summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max77620-regulator.c
diff options
context:
space:
mode:
authorVenkat Reddy Talla2016-11-15 18:21:20 +0100
committerMark Brown2016-11-15 18:27:35 +0100
commit9a40cb0cb8b55ecfdcd3cec1381bcc46ec488588 (patch)
treee1833e55f987003e63b58a6f60698c2422b45fac /drivers/regulator/max77620-regulator.c
parentLinux 4.9-rc1 (diff)
downloadkernel-qcow2-linux-9a40cb0cb8b55ecfdcd3cec1381bcc46ec488588.tar.gz
kernel-qcow2-linux-9a40cb0cb8b55ecfdcd3cec1381bcc46ec488588.tar.xz
kernel-qcow2-linux-9a40cb0cb8b55ecfdcd3cec1381bcc46ec488588.zip
regulator: max77620: remove unused variable
max77620_reuglator_pdata structure variable reg_idata is not used anywhere in the regulator driver, so removing it. Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max77620-regulator.c')
-rw-r--r--drivers/regulator/max77620-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/max77620-regulator.c b/drivers/regulator/max77620-regulator.c
index a1b49a6d538f..c39a56b41901 100644
--- a/drivers/regulator/max77620-regulator.c
+++ b/drivers/regulator/max77620-regulator.c
@@ -73,7 +73,6 @@ struct max77620_regulator_info {
};
struct max77620_regulator_pdata {
- struct regulator_init_data *reg_idata;
int active_fps_src;
int active_fps_pd_slot;
int active_fps_pu_slot;