diff options
author | Johan Hovold <jhovold@gmail.com> | 2012-05-10 13:18:28 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-20 11:27:02 -0400 |
commit | 7af5e87dc5e6b6f413ba95b06e06ebf810687858 (patch) | |
tree | b5cc1c87798fc06e51fbd2e9d562d8d34bf8ccbc | |
parent | f4cf18ca5914bc1edb03c9049198738255fa4a23 (diff) |
mfd: Remove unused max-current lm3533 function
The max-current attributes of the subdrivers have been dropped so
remove the no longer used lm3533_ctrlbank_get_max_current function.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/mfd/lm3533-ctrlbank.c | 1 | ||||
-rw-r--r-- | include/linux/mfd/lm3533.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mfd/lm3533-ctrlbank.c b/drivers/mfd/lm3533-ctrlbank.c index c2732a37c65a..adf4c1a542a9 100644 --- a/drivers/mfd/lm3533-ctrlbank.c +++ b/drivers/mfd/lm3533-ctrlbank.c | |||
@@ -113,7 +113,6 @@ lm3533_ctrlbank_get(brightness, BRIGHTNESS); | |||
113 | * 31 - 29.8 mA | 113 | * 31 - 29.8 mA |
114 | */ | 114 | */ |
115 | lm3533_ctrlbank_set(max_current, MAX_CURRENT); | 115 | lm3533_ctrlbank_set(max_current, MAX_CURRENT); |
116 | lm3533_ctrlbank_get(max_current, MAX_CURRENT); | ||
117 | 116 | ||
118 | /* | 117 | /* |
119 | * PWM-input control mask: | 118 | * PWM-input control mask: |
diff --git a/include/linux/mfd/lm3533.h b/include/linux/mfd/lm3533.h index 336113759fd1..7cfef9e4f41b 100644 --- a/include/linux/mfd/lm3533.h +++ b/include/linux/mfd/lm3533.h | |||
@@ -92,8 +92,6 @@ extern int lm3533_ctrlbank_disable(struct lm3533_ctrlbank *cb); | |||
92 | extern int lm3533_ctrlbank_set_brightness(struct lm3533_ctrlbank *cb, u8 val); | 92 | extern int lm3533_ctrlbank_set_brightness(struct lm3533_ctrlbank *cb, u8 val); |
93 | extern int lm3533_ctrlbank_get_brightness(struct lm3533_ctrlbank *cb, u8 *val); | 93 | extern int lm3533_ctrlbank_get_brightness(struct lm3533_ctrlbank *cb, u8 *val); |
94 | extern int lm3533_ctrlbank_set_max_current(struct lm3533_ctrlbank *cb, u8 val); | 94 | extern int lm3533_ctrlbank_set_max_current(struct lm3533_ctrlbank *cb, u8 val); |
95 | extern int lm3533_ctrlbank_get_max_current(struct lm3533_ctrlbank *cb, | ||
96 | u8 *val); | ||
97 | extern int lm3533_ctrlbank_set_pwm(struct lm3533_ctrlbank *cb, u8 val); | 95 | extern int lm3533_ctrlbank_set_pwm(struct lm3533_ctrlbank *cb, u8 val); |
98 | extern int lm3533_ctrlbank_get_pwm(struct lm3533_ctrlbank *cb, u8 *val); | 96 | extern int lm3533_ctrlbank_get_pwm(struct lm3533_ctrlbank *cb, u8 *val); |
99 | 97 | ||