]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mfd/extcon: max77693: Rename defines to allow inclusion with max77843
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Wed, 15 Jul 2015 12:59:52 +0000 (21:59 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 16 Jul 2015 20:39:30 +0000 (21:39 +0100)
commitcceb433a1e2930301b33c79016eff147eb555cea
tree7751f4bcde4487c7bda83e8e1c59721b6e2c67c3
parentbc1aadc18621ccf93fb33ecbb847b422c354899d
mfd/extcon: max77693: Rename defines to allow inclusion with max77843

Add MAX77693 prefix to some of the defines used in max77693 extcon
driver so the max77693-private.h can be included simultaneously with
max77843-private.h.

Additionally use BIT() macro in header.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/extcon/extcon-max77693.c
include/linux/mfd/max77693-private.h