Skip to content

Commit

Permalink
mfd: Remove unused max-current lm3533 function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johan Hovold authored and Samuel Ortiz committed May 20, 2012
1 parent f4cf18c commit 7af5e87
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/mfd/lm3533-ctrlbank.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ lm3533_ctrlbank_get(brightness, BRIGHTNESS);
* 31 - 29.8 mA
*/
lm3533_ctrlbank_set(max_current, MAX_CURRENT);
lm3533_ctrlbank_get(max_current, MAX_CURRENT);

/*
* PWM-input control mask:
Expand Down
2 changes: 0 additions & 2 deletions include/linux/mfd/lm3533.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ extern int lm3533_ctrlbank_disable(struct lm3533_ctrlbank *cb);
extern int lm3533_ctrlbank_set_brightness(struct lm3533_ctrlbank *cb, u8 val);
extern int lm3533_ctrlbank_get_brightness(struct lm3533_ctrlbank *cb, u8 *val);
extern int lm3533_ctrlbank_set_max_current(struct lm3533_ctrlbank *cb, u8 val);
extern int lm3533_ctrlbank_get_max_current(struct lm3533_ctrlbank *cb,
u8 *val);
extern int lm3533_ctrlbank_set_pwm(struct lm3533_ctrlbank *cb, u8 val);
extern int lm3533_ctrlbank_get_pwm(struct lm3533_ctrlbank *cb, u8 *val);

Expand Down

0 comments on commit 7af5e87

Please sign in to comment.