regulator: max14577: Remove unused state container definition
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 28 Jan 2014 12:18:25 +0000 (13:18 +0100)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:19 +0000 (12:00 +0900)
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>
drivers/regulator/max14577.c

index 46af3a9..93121d3 100644 (file)
@@ -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
 #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);