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.
Please see the next patch to see how these can be used.
Signed-off-by: Yani Ioannou <[email protected]>
---
Oops..I caught this simple typo while compile testing the adm1026
patch with everything, but it looks like I forgot to update the patch,
here is the corrected version (just adding the missing '=' ):
Signed-off-by: Yani Ioannou <[email protected]>
Yani
On 5/17/05, Yani Ioannou <[email protected]> wrote:
> 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.
>
> Please see the next patch to see how these can be used.
>
> Signed-off-by: Yani Ioannou <[email protected]>
>
> ---
>
>
>