]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
tps65090-charger: Use "IS_ENABLED(CONFIG_OF)" for DT code
authorManish Badarkhe <badarkhe.manish@gmail.com>
Sat, 28 Sep 2013 04:32:24 +0000 (10:02 +0530)
committerAnton Vorontsov <anton@enomsg.org>
Fri, 25 Oct 2013 23:07:07 +0000 (16:07 -0700)
commite47bcba4a189ab1ba23072ee2f457b1d72cd22fe
tree0590dc31bc0fcea39dc49f5bb0785ec225ef293f
parent0ed81393235fbf9d3379b55d2ceece1885ea3fae
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>
drivers/power/tps65090-charger.c