summaryrefslogtreecommitdiff
path: root/drivers/pwm
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2018-02-14 13:04:32 +0300
committerThierry Reding <thierry.reding@gmail.com>2018-03-28 01:36:12 +0300
commit3af0bdd1d027292d40c7f1d13420bc298b3e1660 (patch)
tree79b3e32932fa079915a122e91a6c3225fcc82154 /drivers/pwm
parent04c0a4e00dc11fedc0b0a8593adcf0f4310505d4 (diff)
downloadlinux-3af0bdd1d027292d40c7f1d13420bc298b3e1660.tar.xz
pwm: stm32: Remove unused struct device
dev is never assigned or used. Remove it. Fixes: 7edf7369205b ("pwm: Add driver for STM32 plaftorm") Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/pwm-stm32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-stm32.c b/drivers/pwm/pwm-stm32.c
index be56d7af89c9..014e2a759fa6 100644
--- a/drivers/pwm/pwm-stm32.c
+++ b/drivers/pwm/pwm-stm32.c
@@ -20,7 +20,6 @@
struct stm32_pwm {
struct pwm_chip chip;
- struct device *dev;
struct clk *clk;
struct regmap *regmap;
u32 max_arr;