mfd: max77693: Adjust FLASH_EN_SHIFT and TORCH_EN_SHIFT macros
authorJacek Anaszewski <j.anaszewski@samsung.com>
Wed, 4 Mar 2015 16:14:29 +0000 (17:14 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 12 Mar 2015 09:07:27 +0000 (09:07 +0000)
commit3be62b957d2c02cf744d3845091dd8a5fdca2039
treed07f42ae8b527cd6073c4e364f095394eb893dce
parent60ae5b9f5cdd80c529eda13bfdd600a0fc857afb
mfd: max77693: Adjust FLASH_EN_SHIFT and TORCH_EN_SHIFT macros

Modify FLASH_EN_SHIFT and TORCH_EN_SHIFT macros to work properly
when passed enum max77693_fled values (0 for FLED1 and 1 for FLED2)
from leds-max77693 driver. Previous definitions were compatible with
one of the previous RFC versions of leds-max77693.c driver, which was
not merged.

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/max77693-private.h