summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2018-02-14 11:04:32 +0100
committerThierry Reding <thierry.reding@gmail.com>2018-03-28 00:36:12 +0200
commit3af0bdd1d027292d40c7f1d13420bc298b3e1660 (patch)
tree79b3e32932fa079915a122e91a6c3225fcc82154 /drivers/pwm/pwm-stm32.c
parentpwm: mediatek: Improve precision in rate calculation (diff)
downloadlinux-3af0bdd1d027292d40c7f1d13420bc298b3e1660.tar.xz
linux-3af0bdd1d027292d40c7f1d13420bc298b3e1660.zip
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/pwm-stm32.c')
-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;