Re: [PATCH V3] max8925_power: Use "IS_ENABLED(CONFIG_OF)" for DT code.

2014-01-28 Thread Manish Badarkhe
Hi Tomasz, On Tue, Jan 28, 2014 at 5:21 PM, Tomasz Figa wrote: > Hi, > > > On 27.01.2014 19:37, Manish Badarkhe wrote: >> >> Instead of "#ifdef CONFIG_OF" use "IS_ENABLED(CONFIG_OF)" >> option for DT code to avoid if-deffery in code. >> >> Signed-off-by: Manish Badarkhe >> --- >> :100644 100644

Re: [PATCH V3] max8925_power: Use "IS_ENABLED(CONFIG_OF)" for DT code.

2014-01-28 Thread Tomasz Figa
Hi, On 27.01.2014 19:37, Manish Badarkhe wrote: Instead of "#ifdef CONFIG_OF" use "IS_ENABLED(CONFIG_OF)" option for DT code to avoid if-deffery in code. Signed-off-by: Manish Badarkhe --- :100644 100644 b4513f2... 3e54476... M drivers/power/max8925_power.c drivers/power/max8925_power.c |

Re: [PATCH V3] max8925_power: Use IS_ENABLED(CONFIG_OF) for DT code.

2014-01-28 Thread Tomasz Figa
Hi, On 27.01.2014 19:37, Manish Badarkhe wrote: Instead of #ifdef CONFIG_OF use IS_ENABLED(CONFIG_OF) option for DT code to avoid if-deffery in code. Signed-off-by: Manish Badarkhe badarkhe.man...@gmail.com --- :100644 100644 b4513f2... 3e54476... M drivers/power/max8925_power.c

Re: [PATCH V3] max8925_power: Use IS_ENABLED(CONFIG_OF) for DT code.

2014-01-28 Thread Manish Badarkhe
Hi Tomasz, On Tue, Jan 28, 2014 at 5:21 PM, Tomasz Figa t.f...@samsung.com wrote: Hi, On 27.01.2014 19:37, Manish Badarkhe wrote: Instead of #ifdef CONFIG_OF use IS_ENABLED(CONFIG_OF) option for DT code to avoid if-deffery in code. Signed-off-by: Manish Badarkhe badarkhe.man...@gmail.com

[PATCH V3] max8925_power: Use "IS_ENABLED(CONFIG_OF)" for DT code.

2014-01-27 Thread Manish Badarkhe
Instead of "#ifdef CONFIG_OF" use "IS_ENABLED(CONFIG_OF)" option for DT code to avoid if-deffery in code. Signed-off-by: Manish Badarkhe --- :100644 100644 b4513f2... 3e54476... M drivers/power/max8925_power.c drivers/power/max8925_power.c | 17 + 1 file changed, 5

[PATCH V3] max8925_power: Use IS_ENABLED(CONFIG_OF) for DT code.

2014-01-27 Thread Manish Badarkhe
Instead of #ifdef CONFIG_OF use IS_ENABLED(CONFIG_OF) option for DT code to avoid if-deffery in code. Signed-off-by: Manish Badarkhe badarkhe.man...@gmail.com --- :100644 100644 b4513f2... 3e54476... M drivers/power/max8925_power.c drivers/power/max8925_power.c | 17 + 1 file