Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1560371 > unrolled thread

[PATCH v2 05/15] staging: iio: isl29028: remove unused define ISL29028_DEV_ATTR

Started byBrian Masney <masneyb@onstation.org>
First post2017-01-17 10:30 +0100
Last post2017-01-17 10:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 05/15] staging: iio: isl29028: remove unused define ISL29028_DEV_ATTR Brian Masney <masneyb@onstation.org> - 2017-01-17 10:30 +0100

#1560371 — [PATCH v2 05/15] staging: iio: isl29028: remove unused define ISL29028_DEV_ATTR

FromBrian Masney <masneyb@onstation.org>
Date2017-01-17 10:30 +0100
Subject[PATCH v2 05/15] staging: iio: isl29028: remove unused define ISL29028_DEV_ATTR
Message-ID<t0yfw-5dT-11@gated-at.bofh.it>
The #define ISL29028_DEV_ATTR was not used so this patch removes the
unnecessary code.

Signed-off-by: Brian Masney <masneyb@onstation.org>
---
 drivers/staging/iio/light/isl29028.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/iio/light/isl29028.c b/drivers/staging/iio/light/isl29028.c
index d05d761..7074e62 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),
-- 
2.9.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web