lkml.org 
[lkml]   [2019]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] regulator: lp8788-buck: Remove *regulator from struct lp8788_buck
Date
It is not used at all, remove it.

Signed-off-by: Axel Lin <axel.lin@ingics.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
\
 
 \ /
  Last update: 2019-01-30 14:05    [W:0.034 / U:5.748 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site