diff options
| author | Yani Ioannou <yani.ioannou@gmail.com> | 2005-05-17 22:59:05 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-20 15:15:36 -0700 |
| commit | 0a3e7eeabc9f76b7496488aad2d11626ff6a2a4f (patch) | |
| tree | 0cab827910fe12199d666b84919d88fb881fb82d /scripts/basic/split-include.c | |
| parent | [PATCH] Driver Core: include: update device attribute callbacks (diff) | |
| download | linux-0a3e7eeabc9f76b7496488aad2d11626ff6a2a4f.tar.gz linux-0a3e7eeabc9f76b7496488aad2d11626ff6a2a4f.zip | |
[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 <yani.ioannou@gmail.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
