pwm: spear: Remove unused *dev from struct spear_pwm_chip
authorAxel Lin <axel.lin@ingics.com>
Mon, 1 Apr 2013 04:29:48 +0000 (12:29 +0800)
committerThierry Reding <thierry.reding@avionic-design.de>
Tue, 2 Apr 2013 09:40:00 +0000 (11:40 +0200)
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>
drivers/pwm/pwm-spear.c

index 3223b57..9563599 100644 (file)
  * @mmio_base: base address of pwm chip
  * @clk: pointer to clk structure of pwm chip
  * @chip: linux pwm chip representation
- * @dev: pointer to device structure of pwm chip
  */
 struct spear_pwm_chip {
        void __iomem *mmio_base;
        struct clk *clk;
        struct pwm_chip chip;
-       struct device *dev;
 };
 
 static 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)
        if (IS_ERR(pc->clk))
                return PTR_ERR(pc->clk);
 
-       pc->dev = &pdev->dev;
        platform_set_drvdata(pdev, pc);
 
        pc->chip.dev = &pdev->dev;