]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: iio: isl29028: remove unused define ISL29028_DEV_ATTR
authorBrian Masney <masneyb@onstation.org>
Tue, 17 Jan 2017 09:24:52 +0000 (04:24 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sun, 22 Jan 2017 13:21:33 +0000 (13:21 +0000)
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>
drivers/staging/iio/light/isl29028.c

index d05d761bc0ef05c103e71ae041910678c163845a..7074e629229a9cb350d70ebc21a654a7ebb19321 100644 (file)
@@ -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),