[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130401065603.GG1693@S2101-09.ap.freescale.net>
Date: Mon, 1 Apr 2013 14:56:04 +0800
From: Shawn Guo <shawn.guo@...aro.org>
To: Axel Lin <axel.lin@...ics.com>
CC: Thierry Reding <thierry.reding@...onic-design.de>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] pwm: mxs: Remove unused *dev from struct mxs_pwm_chip
On Mon, Apr 01, 2013 at 10:48:13AM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@...ics.com>
Acked-by: Shawn Guo <shawn.guo@...aro.org>
> ---
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists