From: Jean Delvare Date: Thu, 12 Jul 2007 12:12:31 +0000 (+0200) Subject: i2c/tsl2550: Speed up initialization X-Git-Tag: v2.6.23-rc1~1112^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e296fb7f301f3c3398adc6d991b097cfa73e1c0c;p=pandora-kernel.git i2c/tsl2550: Speed up initialization There's some redundancy in the tsl2550 initialization sequence. It is powering up the device twice, and setting the operating mode twice too. Setting things just once saves SMBus transactions, which aren't always cheap, speeding up the device initialization. Signed-off-by: Jean Delvare Cc: Rodolfo Giometti --- Reading git-diff-tree failed