Messages in this thread | | | Date | Fri, 25 Oct 2013 16:08:50 -0700 | From | Anton Vorontsov <> | Subject | Re: [PATCH] tps65090-charger: Use "IS_ENABLED(CONFIG_OF)" for DT code. |
| |
On Mon, Sep 30, 2013 at 12:03:40PM -0400, Rhyland Klein wrote: > On 9/28/2013 12:32 AM, Manish Badarkhe wrote: > > 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> > > --- > > :100644 100644 bdd7b9b... 8b9c406... M drivers/power/tps65090-charger.c > > drivers/power/tps65090-charger.c | 19 +++++-------------- > > 1 file changed, 5 insertions(+), 14 deletions(-) > LGTM > Acked-by: Rhyland Klein <rklein@nvidia.com>
Applied, thanks!
Anton
| |