diff options
author | 2010-09-04 17:54:47 +0100 | |
---|---|---|
committer | 2010-09-04 21:19:00 -0700 | |
commit | 2d7770a9425b44ca487865de24587e420208d741 (patch) | |
tree | cdc5be516404253fc15ff34dd1f3b224756a1e28 /drivers/staging/iio/accel/adis16209_core.c | |
parent | staging: iio: Remove long dead function definitions from headers (diff) | |
download | linux-2d7770a9425b44ca487865de24587e420208d741.tar.gz linux-2d7770a9425b44ca487865de24587e420208d741.tar.bz2 linux-2d7770a9425b44ca487865de24587e420208d741.zip |
staging: iio: Remove deprecated ATTR_TEMP in favour of ATTR_TEMP_RAW
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/accel/adis16209_core.c')
-rw-r--r-- | drivers/staging/iio/accel/adis16209_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/accel/adis16209_core.c b/drivers/staging/iio/accel/adis16209_core.c index 9ee523a044d5..ab3988513d74 100644 --- a/drivers/staging/iio/accel/adis16209_core.c +++ b/drivers/staging/iio/accel/adis16209_core.c @@ -421,7 +421,7 @@ static IIO_CONST_ATTR(incli_scale, "0.00043633231"); static IIO_DEVICE_ATTR(rot_raw, S_IRUGO, adis16209_read_14bit_signed, NULL, ADIS16209_ROT_OUT); -static IIO_DEV_ATTR_TEMP(adis16209_read_temp); +static IIO_DEV_ATTR_TEMP_RAW(adis16209_read_temp); static IIO_CONST_ATTR_TEMP_OFFSET("25"); static IIO_CONST_ATTR_TEMP_SCALE("-0.47"); @@ -440,7 +440,7 @@ static struct attribute_group adis16209_event_attribute_group = { static struct attribute *adis16209_attributes[] = { &iio_dev_attr_in_supply_raw.dev_attr.attr, &iio_const_attr_in_supply_scale.dev_attr.attr, - &iio_dev_attr_temp.dev_attr.attr, + &iio_dev_attr_temp_raw.dev_attr.attr, &iio_const_attr_temp_offset.dev_attr.attr, &iio_const_attr_temp_scale.dev_attr.attr, &iio_dev_attr_reset.dev_attr.attr, |