mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
staging: iio: isl29028: remove unused define ISL29028_DEV_ATTR
The #define ISL29028_DEV_ATTR was not used so this patch removes the unnecessary code. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
b1dda96935
commit
19140ae904
@ -391,7 +391,6 @@ 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");
|
||||
|
||||
#define ISL29028_DEV_ATTR(name) (&iio_dev_attr_##name.dev_attr.attr)
|
||||
#define ISL29028_CONST_ATTR(name) (&iio_const_attr_##name.dev_attr.attr)
|
||||
static struct attribute *isl29028_attributes[] = {
|
||||
ISL29028_CONST_ATTR(in_proximity_sampling_frequency_available),
|
||||
|
Loading…
Reference in New Issue
Block a user