]> git.karo-electronics.de Git - linux-beck.git/commitdiff
pwm: mxs: Remove unused *dev from struct mxs_pwm_chip
authorAxel Lin <axel.lin@ingics.com>
Mon, 1 Apr 2013 02:48:13 +0000 (10:48 +0800)
committerThierry Reding <thierry.reding@avionic-design.de>
Tue, 2 Apr 2013 09:33:05 +0000 (11:33 +0200)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-mxs.c

index a53d3094b75ac553967d513c585b185fca8d7583..23d51806aeaa2c9fecb6235d3a14e028c758d824 100644 (file)
@@ -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);