Re: [PATCH 1/2] pwm: mxs: Remove unused *dev from struct mxs_pwm_chip

From: Shawn Guo
Date: Mon Apr 01 2013 - 02:55:52 EST


On Mon, Apr 01, 2013 at 10:48:13AM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>

Acked-by: Shawn Guo <shawn.guo@xxxxxxxxxx>

> ---
> drivers/pwm/pwm-mxs.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c
> index a53d309..23d5180 100644
> --- a/drivers/pwm/pwm-mxs.c
> +++ b/drivers/pwm/pwm-mxs.c
> @@ -38,7 +38,6 @@
>
> struct mxs_pwm_chip {
> struct pwm_chip chip;
> - struct device *dev;
> struct clk *clk;
> void __iomem *base;
> };
> @@ -166,7 +165,6 @@ static int mxs_pwm_probe(struct platform_device *pdev)
> return ret;
> }
>
> - mxs->dev = &pdev->dev;
> platform_set_drvdata(pdev, mxs);
>
> stmp_reset_block(mxs->base);
> --
> 1.7.10.4
>
>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/