[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1364784493.7725.1.camel@phoenix>
Date: Mon, 01 Apr 2013 10:48:13 +0800
From: Axel Lin <axel.lin@...ics.com>
To: Thierry Reding <thierry.reding@...onic-design.de>
Cc: Shawn Guo <shawn.guo@...aro.org>, linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] pwm: mxs: Remove unused *dev from struct mxs_pwm_chip
Signed-off-by: Axel Lin <axel.lin@...ics.com>
---
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