diff options
-rw-r--r-- | drivers/regulator/max8997.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c index d106b74fc821..ccfd6f39ad18 100644 --- a/drivers/regulator/max8997.c +++ b/drivers/regulator/max8997.c | |||
@@ -766,11 +766,6 @@ static int max8997_set_voltage_safeout(struct regulator_dev *rdev, | |||
766 | return ret; | 766 | return ret; |
767 | } | 767 | } |
768 | 768 | ||
769 | static int max8997_reg_enable_suspend(struct regulator_dev *rdev) | ||
770 | { | ||
771 | return 0; | ||
772 | } | ||
773 | |||
774 | static int max8997_reg_disable_suspend(struct regulator_dev *rdev) | 769 | static int max8997_reg_disable_suspend(struct regulator_dev *rdev) |
775 | { | 770 | { |
776 | struct max8997_data *max8997 = rdev_get_drvdata(rdev); | 771 | struct max8997_data *max8997 = rdev_get_drvdata(rdev); |
@@ -806,7 +801,6 @@ static struct regulator_ops max8997_ldo_ops = { | |||
806 | .get_voltage_sel = max8997_get_voltage_sel, | 801 | .get_voltage_sel = max8997_get_voltage_sel, |
807 | .set_voltage = max8997_set_voltage_ldobuck, | 802 | .set_voltage = max8997_set_voltage_ldobuck, |
808 | .set_voltage_time_sel = max8997_set_voltage_ldobuck_time_sel, | 803 | .set_voltage_time_sel = max8997_set_voltage_ldobuck_time_sel, |
809 | .set_suspend_enable = max8997_reg_enable_suspend, | ||
810 | .set_suspend_disable = max8997_reg_disable_suspend, | 804 | .set_suspend_disable = max8997_reg_disable_suspend, |
811 | }; | 805 | }; |
812 | 806 | ||
@@ -818,7 +812,6 @@ static struct regulator_ops max8997_buck_ops = { | |||
818 | .get_voltage_sel = max8997_get_voltage_sel, | 812 | .get_voltage_sel = max8997_get_voltage_sel, |
819 | .set_voltage = max8997_set_voltage_buck, | 813 | .set_voltage = max8997_set_voltage_buck, |
820 | .set_voltage_time_sel = max8997_set_voltage_ldobuck_time_sel, | 814 | .set_voltage_time_sel = max8997_set_voltage_ldobuck_time_sel, |
821 | .set_suspend_enable = max8997_reg_enable_suspend, | ||
822 | .set_suspend_disable = max8997_reg_disable_suspend, | 815 | .set_suspend_disable = max8997_reg_disable_suspend, |
823 | }; | 816 | }; |
824 | 817 | ||
@@ -827,7 +820,6 @@ static struct regulator_ops max8997_fixedvolt_ops = { | |||
827 | .is_enabled = max8997_reg_is_enabled, | 820 | .is_enabled = max8997_reg_is_enabled, |
828 | .enable = max8997_reg_enable, | 821 | .enable = max8997_reg_enable, |
829 | .disable = max8997_reg_disable, | 822 | .disable = max8997_reg_disable, |
830 | .set_suspend_enable = max8997_reg_enable_suspend, | ||
831 | .set_suspend_disable = max8997_reg_disable_suspend, | 823 | .set_suspend_disable = max8997_reg_disable_suspend, |
832 | }; | 824 | }; |
833 | 825 | ||
@@ -838,7 +830,6 @@ static struct regulator_ops max8997_safeout_ops = { | |||
838 | .disable = max8997_reg_disable, | 830 | .disable = max8997_reg_disable, |
839 | .get_voltage_sel = max8997_get_voltage_sel, | 831 | .get_voltage_sel = max8997_get_voltage_sel, |
840 | .set_voltage = max8997_set_voltage_safeout, | 832 | .set_voltage = max8997_set_voltage_safeout, |
841 | .set_suspend_enable = max8997_reg_enable_suspend, | ||
842 | .set_suspend_disable = max8997_reg_disable_suspend, | 833 | .set_suspend_disable = max8997_reg_disable_suspend, |
843 | }; | 834 | }; |
844 | 835 | ||