Re: [PATCH] [media] use IS_ENABLED() macro

2013-01-20 Thread Antti Palosaari
On 01/20/2013 07:32 AM, Peter Senna Tschudin wrote: This patch introduces the use of IS_ENABLED() macro. For example, replacing: #if defined(CONFIG_I2C) || (defined(CONFIG_I2C_MODULE) defined(MODULE)) with: #if IS_ENABLED(CONFIG_I2C) All changes made by this patch respect the same

Re: [PATCH] [media] use IS_ENABLED() macro

2013-01-20 Thread Antti Palosaari
On 01/20/2013 08:07 PM, Antti Palosaari wrote: On 01/20/2013 07:32 AM, Peter Senna Tschudin wrote: This patch introduces the use of IS_ENABLED() macro. For example, replacing: #if defined(CONFIG_I2C) || (defined(CONFIG_I2C_MODULE) defined(MODULE)) with: #if IS_ENABLED(CONFIG_I2C) All

[PATCH] [media] use IS_ENABLED() macro

2013-01-19 Thread Peter Senna Tschudin
This patch introduces the use of IS_ENABLED() macro. For example, replacing: #if defined(CONFIG_I2C) || (defined(CONFIG_I2C_MODULE) defined(MODULE)) with: #if IS_ENABLED(CONFIG_I2C) All changes made by this patch respect the same replacement pattern. Reported-by: Mauro Carvalho Chehab