[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190130130419.23548-2-axel.lin@ingics.com>
Date: Wed, 30 Jan 2019 21:04:19 +0800
From: Axel Lin <axel.lin@...ics.com>
To: Mark Brown <broonie@...nel.org>
Cc: Milo Kim <milo.kim@...com>, Liam Girdwood <lgirdwood@...il.com>,
linux-kernel@...r.kernel.org, Axel Lin <axel.lin@...ics.com>
Subject: [PATCH 2/2] regulator: lp8788-buck: Remove *regulator from struct lp8788_buck
It is not used at all, remove it.
Signed-off-by: Axel Lin <axel.lin@...ics.com>
---
drivers/regulator/lp8788-buck.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/regulator/lp8788-buck.c b/drivers/regulator/lp8788-buck.c
index 30de784d8e30..f84167688e5e 100644
--- a/drivers/regulator/lp8788-buck.c
+++ b/drivers/regulator/lp8788-buck.c
@@ -91,7 +91,6 @@ enum lp8788_buck_id {
struct lp8788_buck {
struct lp8788 *lp;
- struct regulator_dev *regulator;
void *dvs;
};
@@ -523,7 +522,6 @@ static int lp8788_buck_probe(struct platform_device *pdev)
return ret;
}
- buck->regulator = rdev;
platform_set_drvdata(pdev, buck);
return 0;
--
2.17.1
Powered by blists - more mailing lists