mfd: max77693: Add TORCH_IOUT_MASK macro
authorJacek Anaszewski <j.anaszewski@samsung.com>
Wed, 4 Mar 2015 16:14:28 +0000 (17:14 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 12 Mar 2015 09:07:44 +0000 (09:07 +0000)
commit419d55bbb80370ed1e8a36d7884cfcf977e73e29
tree6299db89be7be3391a0140e2aead1d1970a819a0
parenta307de2aab5bcb96bae3d778b01ff815f027ad88
mfd: max77693: Add TORCH_IOUT_MASK macro

Add a macro for obtaining the mask of ITORCH register bit fields
related either to FLED1 or FLED2 current output. The expected
arguments are TORCH_IOUT1_SHIFT or TORCH_IOUT2_SHIFT.

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