]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c: lp5521: simplify mode setting
authorFelipe Balbi <felipe.balbi@nokia.com>
Fri, 13 Feb 2009 12:43:49 +0000 (14:43 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 17 Feb 2009 23:34:40 +0000 (15:34 -0800)
commit3bcc9fdb78c072876dc10281b028d465b4434266
tree6f25a50c82c097bb2d2ed2cd3a40ffedc99a7870
parent509976696ce953df9bf52f6e4ac39f7a5ca71020
i2c: lp5521: simplify mode setting

Avoid using string magic and use integer for comparisson

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/lp5521.c