diff options
author | Manish Badarkhe <badarkhe.manish@gmail.com> | 2013-09-28 06:32:24 +0200 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-10-26 01:07:07 +0200 |
commit | e47bcba4a189ab1ba23072ee2f457b1d72cd22fe (patch) | |
tree | 0590dc31bc0fcea39dc49f5bb0785ec225ef293f /drivers/power/bq2415x_charger.c | |
parent | tps65090-charger: Drop devm_free_irq of devm_ allocated irq (diff) | |
download | linux-e47bcba4a189ab1ba23072ee2f457b1d72cd22fe.tar.xz linux-e47bcba4a189ab1ba23072ee2f457b1d72cd22fe.zip |
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/bq2415x_charger.c')
0 files changed, 0 insertions, 0 deletions