lkml.org 
[lkml]   [2018]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/8] pwm: stm32: fix, remove unused struct device
    Date
    dev is never assigned nor used. remove it.

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

    Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
    ---
    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
    \
     
     \ /
      Last update: 2018-01-16 13:47    [W:5.481 / U:1.368 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site