From: Kevin Hilman Date: Tue, 29 Mar 2011 21:02:36 +0000 (-0700) Subject: OMAP3+: VC: cleanup i2c slave address configuration X-Git-Tag: v3.2-rc1~95^2^2~1^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba112a4e86ba8f0f9546bd953374cde064b507ca;p=pandora-kernel.git OMAP3+: VC: cleanup i2c slave address configuration - Add an i2c_slave_address field to the omap_vc_channel - use VC/VP read/modify/write helper instead of open-coding - remove smps_sa_shift, use __ffs(mask) for shift value - I2C addresses 10-bit, change size to u16 Special thanks to Shweta Gulati for suggesting the use of __ffs(x) instead of ffs(x) - 1. Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed