[PATCH] I2C: Kill common macro abuse in chip drivers
authorJean Delvare <khali@linux-fr.org>
Mon, 16 May 2005 16:52:38 +0000 (18:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Jun 2005 04:51:57 +0000 (21:51 -0700)
commit68188ba7de2db9999ff08a4544a78b2f10eb08bd
tree37e0406d7f2b6ace2bc73043bda0c745d3aa5e37
parentff3240946d6a3d9f2ecf273f7330e09eec5484eb
[PATCH] I2C: Kill common macro abuse in chip drivers

This patch kills a common macro abuse in i2c chip drivers: defining
ALARMS_FROM_REG returning its argument unchanged. Dropping the macro
makes the code somewhat more readable IMHO.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/chips/asb100.c
drivers/i2c/chips/it87.c
drivers/i2c/chips/lm85.c
drivers/i2c/chips/via686a.c
drivers/i2c/chips/w83781d.c