[PATCH 2/4] iio: mxs: Remove unused fields from mxs_lradc

Marek Vasut marex at denx.de
Fri Dec 7 10:24:51 EST 2012


Remove unused "enable" field from struct mxs_lradc. This seems to be
remnant of early development.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Fabio Estevam <fabio.estevam at freescale.com>
Cc: Jonathan Cameron <jic23 at kernel.org>
Cc: Shawn Guo <shawn.guo at linaro.org>
---
 drivers/staging/iio/adc/mxs-lradc.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging/iio/adc/mxs-lradc.c
index 67abf50..6249957 100644
--- a/drivers/staging/iio/adc/mxs-lradc.c
+++ b/drivers/staging/iio/adc/mxs-lradc.c
@@ -85,8 +85,6 @@ struct mxs_lradc {
 
 	struct mutex		lock;
 
-	uint8_t			enable;
-
 	struct completion	completion;
 };
 
-- 
1.7.10.4




More information about the linux-arm-kernel mailing list