Skip to content

Commit

Permalink
pwm: stm32: Remove unused struct device
Browse files Browse the repository at this point in the history
dev is never assigned or used. Remove it.

Fixes: 7edf736 ("pwm: Add driver for STM32 plaftorm")
Signed-off-by: Fabrice Gasnier <[email protected]>
Reviewed-by: Benjamin Gaignard <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
  • Loading branch information
Fabrice Gasnier authored and thierryreding committed Mar 27, 2018
1 parent 04c0a4e commit 3af0bdd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/pwm/pwm-stm32.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

struct stm32_pwm {
struct pwm_chip chip;
struct device *dev;
struct clk *clk;
struct regmap *regmap;
u32 max_arr;
Expand Down

0 comments on commit 3af0bdd

Please sign in to comment.