summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-01-28 13:18:25 +0100
committerChanho Park <chanho61.park@samsung.com>2014-08-08 15:25:44 +0900
commit0fff1dc755ad464b452d2ef1a34d3e38a8f7ef3c (patch)
tree90c08f7e1b52d6eb0b40da41361fce580d9e40e4 /drivers/regulator
parent22182c0bfc82ce2a51fd2750d5a8ff3468e0a5d2 (diff)
downloadlinux-3.10-0fff1dc755ad464b452d2ef1a34d3e38a8f7ef3c.tar.gz
linux-3.10-0fff1dc755ad464b452d2ef1a34d3e38a8f7ef3c.tar.bz2
linux-3.10-0fff1dc755ad464b452d2ef1a34d3e38a8f7ef3c.zip
regulator: max14577: Remove unused state container definition
Remove the "struct max14577_regulator" because this is not used anywhere. It should be removed earlier along with changing the driver after review on the mailing lists. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/max14577.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/regulator/max14577.c b/drivers/regulator/max14577.c
index 46af3a9695c..93121d3ad5d 100644
--- a/drivers/regulator/max14577.c
+++ b/drivers/regulator/max14577.c
@@ -1,7 +1,7 @@
/*
* max14577.c - Regulator driver for the Maxim 14577
*
- * Copyright (C) 2013 Samsung Electronics
+ * Copyright (C) 2013,2014 Samsung Electronics
* Krzysztof Kozlowski <k.kozlowski@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
@@ -22,12 +22,6 @@
#include <linux/mfd/max14577-private.h>
#include <linux/regulator/of_regulator.h>
-struct max14577_regulator {
- struct device *dev;
- struct maxim_core *max14577;
- struct regulator_dev **regulators;
-};
-
static int max14577_reg_is_enabled(struct regulator_dev *rdev)
{
int rid = rdev_get_id(rdev);