[PATCH 2/5] I2C: TSL2563: Add support for Taos tsl2563 ambient light sensor

2008-04-09 Thread Felipe Balbi
From: Mathias Nyman <[EMAIL PROTECTED]> Add support for Taos tsl2563 ambient light sensor. Signed-off-by: Mathias Nyman <[EMAIL PROTECTED]> Updated to build with current linux-omap, new-style i2c driver and cleaned up checkpatch.pl issues. Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]> --- ar

Re: [PATCH 2/5] I2C: TSL2563: Add support for Taos tsl2563 ambient light sensor

2008-04-09 Thread Eduardo Valentin
Hi Balbi and Mathias, This patch has some style problems. Here is the output of checkpatch: [EMAIL PROTECTED]:~$ ./trees/linux-omap-2.6/scripts/checkpatch.pl mathias.diff ERROR: do not use assignment in if condition #314: FILE: drivers/i2c/chips/tsl2563.c:188: + if ((ret = tsl2563_write(clie

[PATCH 2/5] I2C: TSL2563: Add support for Taos tsl2563 ambient light sensor

2008-04-09 Thread Felipe Balbi
From: Mathias Nyman <[EMAIL PROTECTED]> Add support for Taos tsl2563 ambient light sensor. Signed-off-by: Mathias Nyman <[EMAIL PROTECTED]> Updated to build with current linux-omap and new-style i2c driver. Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]> --- arch/arm/mach-omap2/board-n800.c |

[PATCH 2/5] I2C: TSL2563: Add support for Taos tsl2563 ambient light sensor

2008-04-09 Thread Felipe Balbi
From: Mathias Nyman <[EMAIL PROTECTED]> Add support for Taos tsl2563 ambient light sensor. Signed-off-by: Mathias Nyman <[EMAIL PROTECTED]> Updated to build with current linux-omap and new-style i2c driver. Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]> --- arch/arm/mach-omap2/board-n800.c |