]> 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)
commit71f4abf2dd4a3ebbfdf5c52b4c01b3f640ba5072
tree163cde728bc8b5eb26ebc99ba3da9825d64f72cf
parentad915b0f3e2ab29b6dc2f40be97ffa6df6b16e02
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