]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: max77686: Implement .set_ramp_delay() callback
authorYadwinder Singh Brar <yadi.brar01@gmail.com>
Wed, 20 Jun 2012 05:20:51 +0000 (10:50 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jun 2012 10:15:13 +0000 (11:15 +0100)
commitf503071b03dcac6908fb7e051cfc9c45bea084c0
treef84998c05c4422e63c6dab80726d655ad0fd9ff3
parentc59d2a6b20aef4660a9ed89224bd17eec6a54751
regulator: max77686: Implement .set_ramp_delay() callback

This patch implements the .set_ramp_delay callback to set the ramp_delay on
hardware for BUCK2/3/4 if ramp_delay is set in regulator constraints.

This patch also do some cleaning work for unrequired members of
struct max77686_data.

Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max77686.c