Home
last modified time | relevance | path

Searched hist:eb18618b8018bffad6e62f1bc40e4e0c7ee2fa19 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/leds/
H A Dleds-max8997.cdiff eb18618b8018bffad6e62f1bc40e4e0c7ee2fa19 Tue Jul 24 08:29:47 CEST 2012 Axel Lin <axel.lin@gmail.com> leds: max8997: Simplify max8997_led_set_mode implementation

It is not necessary to call max8997_update_reg() twice just for updating
MAX8997_REG_LEN_CNTL register. With proper val and mask arguments to
max8997_update_reg() call, this can be done in one max8997_update_reg() call.
And then we can remove max8997_led_clear_mode() function.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>