diff options
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> | 2016-07-05 13:55:43 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-07-10 14:50:28 +0100 |
commit | b9b689c12794bbe9605ff906da23a4e8a97ecebe (patch) | |
tree | 3a72a713b0f7f131a68203b9e69055e6ca7e5715 /drivers/staging | |
parent | bafaa6debe9621f3afb305b6bd960d89e88eed8a (diff) |
staging: iio: isl29028: Expose scale and sample frequency available without comma
Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/iio/light/isl29028.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/light/isl29028.c b/drivers/staging/iio/light/isl29028.c index a73b6329c188..7358c3b36b50 100644 --- a/drivers/staging/iio/light/isl29028.c +++ b/drivers/staging/iio/light/isl29028.c @@ -383,8 +383,8 @@ static int isl29028_read_raw(struct iio_dev *indio_dev, } static IIO_CONST_ATTR(in_proximity_sampling_frequency_available, - "1, 3, 5, 10, 13, 20, 83, 100"); -static IIO_CONST_ATTR(in_illuminance_scale_available, "125, 2000"); + "1 3 5 10 13 20 83 100"); +static IIO_CONST_ATTR(in_illuminance_scale_available, "125 2000"); #define ISL29028_DEV_ATTR(name) (&iio_dev_attr_##name.dev_attr.attr) #define ISL29028_CONST_ATTR(name) (&iio_const_attr_##name.dev_attr.attr) |