It is not used at all, remove it.

Signed-off-by: Axel Lin <[email protected]>
---
 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

Reply via email to