Skip to content

Commit

Permalink
iio: mxs: Remove unused struct mxs_lradc_chan
Browse files Browse the repository at this point in the history
This structure definition seems to be some kind of remnant from
previous development that accidentally made it mainline. Remove
it as it's unused.

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

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
  • Loading branch information
Marek Vasut authored and Jonathan Cameron committed Dec 27, 2012
1 parent 569c4ac commit 99e0201
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/staging/iio/adc/mxs-lradc.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@ static const char * const mxs_lradc_irq_name[] = {
"mxs-lradc-button1",
};

struct mxs_lradc_chan {
uint8_t slot;
uint8_t flags;
};

struct mxs_lradc {
struct device *dev;
void __iomem *base;
Expand All @@ -90,8 +85,6 @@ struct mxs_lradc {

struct mutex lock;

uint8_t enable;

struct completion completion;
};

Expand Down

0 comments on commit 99e0201

Please sign in to comment.