Re: [PATCH V2] regulator: tps6507x: Use "IS_ENABLED" for DT code.

2014-02-07 Thread Mark Brown
On Thu, Feb 06, 2014 at 12:06:00AM +0530, Manish Badarkhe wrote: > Instead of "#ifdef CONFIG_OF" use "IS_ENABLED(CONFIG_OF)" > option for DT code to avoid if-deffery in code. > Also, modify code as per coding style. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH V2] regulator: tps6507x: Use IS_ENABLED for DT code.

2014-02-07 Thread Mark Brown
On Thu, Feb 06, 2014 at 12:06:00AM +0530, Manish Badarkhe wrote: Instead of #ifdef CONFIG_OF use IS_ENABLED(CONFIG_OF) option for DT code to avoid if-deffery in code. Also, modify code as per coding style. Applied, thanks. signature.asc Description: Digital signature

[PATCH V2] regulator: tps6507x: Use "IS_ENABLED" for DT code.

2014-02-05 Thread Manish Badarkhe
Instead of "#ifdef CONFIG_OF" use "IS_ENABLED(CONFIG_OF)" option for DT code to avoid if-deffery in code. Also, modify code as per coding style. Signed-off-by: Manish Badarkhe --- Changes since V1: 1. fix build break when CONFIG_OF is not set. :100644 100644 162a0fa... 862cc81... M

[PATCH V2] regulator: tps6507x: Use IS_ENABLED for DT code.

2014-02-05 Thread Manish Badarkhe
Instead of #ifdef CONFIG_OF use IS_ENABLED(CONFIG_OF) option for DT code to avoid if-deffery in code. Also, modify code as per coding style. Signed-off-by: Manish Badarkhe badarkhe.man...@gmail.com --- Changes since V1: 1. fix build break when CONFIG_OF is not set. :100644 100644 162a0fa...