diff options
author | Manish Badarkhe <badarkhe.manish@gmail.com> | 2013-09-28 10:02:24 +0530 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-10-25 16:07:07 -0700 |
commit | e47bcba4a189ab1ba23072ee2f457b1d72cd22fe (patch) | |
tree | 0590dc31bc0fcea39dc49f5bb0785ec225ef293f /drivers/power/power_supply_leds.c | |
parent | 0ed81393235fbf9d3379b55d2ceece1885ea3fae (diff) | |
download | op-kernel-dev-e47bcba4a189ab1ba23072ee2f457b1d72cd22fe.zip op-kernel-dev-e47bcba4a189ab1ba23072ee2f457b1d72cd22fe.tar.gz |
tps65090-charger: Use "IS_ENABLED(CONFIG_OF)" for DT code
Instead of "#if defined(CONFIG_OF)" use "IS_ENABLED(CONFIG_OF)" option
for DT code to avoid if-deffery in code.
Also, arranged header files in alphabetically.
Signed-off-by: Manish Badarkhe <badarkhe.manish@gmail.com>
Acked-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power/power_supply_leds.c')
0 files changed, 0 insertions, 0 deletions