From: Yani Ioannou Date: Wed, 18 May 2005 02:59:05 +0000 (-0400) Subject: [PATCH] I2C: add i2c sensor_device_attribute and macros X-Git-Tag: v2.6.13-rc1~68^2~583^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a3e7eeabc9f76b7496488aad2d11626ff6a2a4f;p=pandora-kernel.git [PATCH] I2C: add i2c sensor_device_attribute and macros This patch creates a new header with a potential standard i2c sensor attribute type (which simply includes an int representing the sensor number/index) and the associated macros, SENSOR_DEVICE_ATTR to define a static attribute and to_sensor_dev_attr to get a sensor_device_attribute reference from an embedded device_attribute reference. Signed-off-by: Yani Ioannou --- Reading git-diff-tree failed