06 May, 2019

1 commit

  • Introduce local variable 'struct device *dev' and use it instead of
    dereferencing it repeatedly.

    The conversion was done automatically with coccinelle using the
    following semantic patches. The semantic patches and the scripts
    used to generate this commit log are available at
    https://github.com/groeck/coccinelle-patches

    Signed-off-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    Guenter Roeck
     

07 Jan, 2019

1 commit

  • These functions return NULL on error but we accidentally check
    for IS_ERR() instead.

    Fixes: e3c21e088f89 ("watchdog: tqmx86: Add watchdog driver for the IO controller")
    Signed-off-by: Dan Carpenter
    Reviewed-by: Andrew Lunn
    Reviewed-by: Guenter Roeck
    Signed-off-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    Dan Carpenter
     

24 Dec, 2018

1 commit