From: Brian Masney Date: Tue, 17 Jan 2017 09:24:52 +0000 (-0500) Subject: staging: iio: isl29028: remove unused define ISL29028_DEV_ATTR X-Git-Tag: v4.11-rc1~116^2~272^2~16 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=19140ae90484a89dc21ccea0cb077b80bf727019;p=karo-tx-linux.git 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 Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/light/isl29028.c b/drivers/staging/iio/light/isl29028.c index d05d761bc0ef..7074e629229a 100644 --- a/drivers/staging/iio/light/isl29028.c +++ b/drivers/staging/iio/light/isl29028.c @@ -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),