Skip to content
Commit 01c3f110 authored by Manish Badarkhe's avatar Manish Badarkhe Committed by Lee Jones
Browse files

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: default avatarManish Badarkhe <badarkhe.manish@gmail.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 754fa7bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment