lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190130130419.23548-1-axel.lin@ingics.com>
Date:   Wed, 30 Jan 2019 21:04:18 +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 1/2] regulator: lp8788-ldo: Remove *desc and *regulator from struct lp8788_ldo

They are not used at all, remove them.

Signed-off-by: Axel Lin <axel.lin@...ics.com>
---
 drivers/regulator/lp8788-ldo.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/regulator/lp8788-ldo.c b/drivers/regulator/lp8788-ldo.c
index a2ef146e6b3a..172b5f9355dd 100644
--- a/drivers/regulator/lp8788-ldo.c
+++ b/drivers/regulator/lp8788-ldo.c
@@ -113,8 +113,6 @@ enum lp8788_ldo_id {
 
 struct lp8788_ldo {
 	struct lp8788 *lp;
-	struct regulator_desc *desc;
-	struct regulator_dev *regulator;
 	struct gpio_desc *ena_gpiod;
 };
 
@@ -558,7 +556,6 @@ static int lp8788_dldo_probe(struct platform_device *pdev)
 		return ret;
 	}
 
-	ldo->regulator = rdev;
 	platform_set_drvdata(pdev, ldo);
 
 	return 0;
@@ -605,7 +602,6 @@ static int lp8788_aldo_probe(struct platform_device *pdev)
 		return ret;
 	}
 
-	ldo->regulator = rdev;
 	platform_set_drvdata(pdev, ldo);
 
 	return 0;
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ