aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-04-01 00:29:48 -0400
committerThierry Reding <thierry.reding@avionic-design.de>2013-04-02 05:40:00 -0400
commitb3fef7f10010e7946b3db1a34d8e0208e4f10001 (patch)
tree74ca83d25edb0cc4da8c4ba8d9072e19c34ac734 /drivers
parent4e61573df893abcb7b647fc4f3f4b60819704883 (diff)
pwm: spear: Remove unused *dev from struct spear_pwm_chip
Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Shiraz Hashim <shiraz.hashim@st.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pwm/pwm-spear.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pwm/pwm-spear.c b/drivers/pwm/pwm-spear.c
index 3223b57e8f9c..9563599a117e 100644
--- a/drivers/pwm/pwm-spear.c
+++ b/drivers/pwm/pwm-spear.c
@@ -49,13 +49,11 @@
49 * @mmio_base: base address of pwm chip 49 * @mmio_base: base address of pwm chip
50 * @clk: pointer to clk structure of pwm chip 50 * @clk: pointer to clk structure of pwm chip
51 * @chip: linux pwm chip representation 51 * @chip: linux pwm chip representation
52 * @dev: pointer to device structure of pwm chip
53 */ 52 */
54struct spear_pwm_chip { 53struct spear_pwm_chip {
55 void __iomem *mmio_base; 54 void __iomem *mmio_base;
56 struct clk *clk; 55 struct clk *clk;
57 struct pwm_chip chip; 56 struct pwm_chip chip;
58 struct device *dev;
59}; 57};
60 58
61static inline struct spear_pwm_chip *to_spear_pwm_chip(struct pwm_chip *chip) 59static inline struct spear_pwm_chip *to_spear_pwm_chip(struct pwm_chip *chip)
@@ -200,7 +198,6 @@ static int spear_pwm_probe(struct platform_device *pdev)
200 if (IS_ERR(pc->clk)) 198 if (IS_ERR(pc->clk))
201 return PTR_ERR(pc->clk); 199 return PTR_ERR(pc->clk);
202 200
203 pc->dev = &pdev->dev;
204 platform_set_drvdata(pdev, pc); 201 platform_set_drvdata(pdev, pc);
205 202
206 pc->chip.dev = &pdev->dev; 203 pc->chip.dev = &pdev->dev;