Skip to content

Commit

Permalink
pwm: mxs: Remove unused *dev from struct mxs_pwm_chip
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Shawn Guo <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
  • Loading branch information
AxelLin authored and Thierry Reding committed Apr 2, 2013
1 parent c8e4df3 commit 4e61573
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/pwm/pwm-mxs.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@

struct mxs_pwm_chip {
struct pwm_chip chip;
struct device *dev;
struct clk *clk;
void __iomem *base;
};
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4e61573

Please sign in to comment.