[PATCH 1/4] iio: mxs: Remove unused struct mxs_lradc_chan

Fabio Estevam festevam at gmail.com
Sat Dec 8 14:39:02 EST 2012


Hi Marek,

On Fri, Dec 7, 2012 at 1:24 PM, Marek Vasut <marex at denx.de> wrote:
> This structure definition seems to be some kind of remnant from
> previous development that accidentally made it mainline. Remove
> it as it's unused.
>
> 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 |    5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging/iio/adc/mxs-lradc.c
> index ca7c1fa..67abf50 100644
> --- a/drivers/staging/iio/adc/mxs-lradc.c
> +++ b/drivers/staging/iio/adc/mxs-lradc.c
> @@ -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;

Can you combine patches 1 and 2 into a single patch?

Thanks for working on this. I will test the series next week on my mx28evk.

Regards,

Fabio Estevam



More information about the linux-arm-kernel mailing list