Thread (13 messages) 13 messages, 4 authors, 2018-02-14
STALE3051d
Revisions (7)
  1. v1 [diff vs current]
  2. v2 current
  3. v2 [diff vs current]
  4. v3 [diff vs current]
  5. v4 [diff vs current]
  6. v5 [diff vs current]
  7. v5 [diff vs current]

[PATCH v2 1/8] pwm: stm32: fix, remove unused struct device

From: Fabrice Gasnier <hidden>
Date: 2018-01-26 15:12:45
Also in: linux-devicetree, linux-pwm, lkml
Subsystem: pwm subsystem, stm32 timer/lptimer drivers, the rest · Maintainers: Uwe Kleine-König, Fabrice Gasnier, Linus Torvalds

dev is never assigned nor used. remove it.

Fixes: 7edf7369205b ("pwm: Add driver for STM32 plaftorm")

Signed-off-by: Fabrice Gasnier <redacted>
---
 drivers/pwm/pwm-stm32.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/pwm/pwm-stm32.c b/drivers/pwm/pwm-stm32.c
index 6139512..59524f9 100644
--- a/drivers/pwm/pwm-stm32.c
+++ b/drivers/pwm/pwm-stm32.c
@@ -21,7 +21,6 @@
 
 struct stm32_pwm {
 	struct pwm_chip chip;
-	struct device *dev;
 	struct clk *clk;
 	struct regmap *regmap;
 	u32 max_arr;
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help