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

From: Axel Lin
Date: Sun Mar 31 2013 - 22:48:25 EST


Signed-off-by: Axel Lin <axel.lin@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/