Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1522933

[PATCH] regulator: max77620: remove unused variable

From Shardar Shariff Md <vreddytalla@nvidia.com>
Newsgroups linux.kernel
Subject [PATCH] regulator: max77620: remove unused variable
Date 2016-11-15 18:30 +0100
Message-ID <sDPIu-7SW-35@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Venkat Reddy Talla <vreddytalla@nvidia.com>

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>
---
 drivers/regulator/max77620-regulator.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/regulator/max77620-regulator.c b/drivers/regulator/max77620-regulator.c
index a1b49a6..c39a56b 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;
-- 
2.1.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] regulator: max77620: remove unused variable Shardar Shariff Md <vreddytalla@nvidia.com> - 2016-11-15 18:30 +0100
  Applied "regulator: max77620: remove unused variable" to the regulator tree Mark Brown <broonie@kernel.org> - 2016-11-15 20:00 +0100

csiph-web