]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: max8997: Use "IS_ENABLED(CONFIG_OF)" for DT code.
authorManish Badarkhe <badarkhe.manish@gmail.com>
Sun, 22 Dec 2013 17:48:49 +0000 (23:18 +0530)
committerLee Jones <lee.jones@linaro.org>
Tue, 21 Jan 2014 08:28:58 +0000 (08:28 +0000)
commitc7dd5bf1243a000ca23f92dd8cd05d0cdedfb623
tree163cde728bc8b5eb26ebc99ba3da9825d64f72cf
parent8b94643f3227d240dab96c31d69028f5b518bafe
mfd: max8997: Use "IS_ENABLED(CONFIG_OF)" for DT code.

Instead of "#if define CONFIG_OF" use "IS_ENABLED(CONFIG_OF)"
option for DT code to avoid if-deffery in code.

Signed-off-by: Manish Badarkhe <badarkhe.manish@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max8997.c