From: Axel Lin Date: Mon, 1 Apr 2013 04:29:48 +0000 (+0800) Subject: pwm: spear: Remove unused *dev from struct spear_pwm_chip X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b3fef7f10010e7946b3db1a34d8e0208e4f10001;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git pwm: spear: Remove unused *dev from struct spear_pwm_chip Signed-off-by: Axel Lin Acked-by: Shiraz Hashim Acked-by: Viresh Kumar Signed-off-by: Thierry Reding --- 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 @@ * @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;