08 Jul, 2019

1 commit


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

    Cc: Johannes Thumshirn
    Signed-off-by: Guenter Roeck
    Reviewed-by: Johannes Thumshirn
    Signed-off-by: Wim Van Sebroeck

    Guenter Roeck
     

22 Dec, 2018

1 commit

  • This drops the old OF API use to look up global GPIO
    numbers and replace it with the GPIO descriptor API.

    Cc: Johannes Thumshirn
    Cc: Johannes Thumshirn
    Cc: Johannes Thumshirn
    Signed-off-by: Linus Walleij
    Acked-by: Johannes Thumshirn
    Reviewed-by: Guenter Roeck
    Signed-off-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    Linus Walleij
     

22 May, 2018

1 commit

  • There is already a mutex in the watchdog core which serializes
    calls to the various API functions.
    So the mutex lock "drv->lock" is unnecessary and can be dropped.

    Signed-off-by: Jia-Ju Bai
    Reviewed-by: Johannes Thumshirn
    Signed-off-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck
    Reviewed-by: Guenter Roeck

    Jia-Ju Bai
     

24 Mar, 2018

1 commit

  • - Add SPDX identifier
    - Remove boiler plate license text
    - If MODULE_LICENSE and boiler plate does not match, go for boiler plate
    license

    Signed-off-by: Marcus Folkesson
    Acked-by: Adam Thomson
    Acked-by: Baruch Siach
    Acked-by: Charles Keepax
    Acked-by: Keiji Hayashibara
    Acked-by: Johannes Thumshirn
    Acked-by: Florian Fainelli
    Acked-by: Mans Rullgard
    Acked-by: Matthias Brugger
    Acked-by: Michal Simek
    Acked-by: Neil Armstrong
    Acked-by: Nicolas Ferre
    Acked-by: Thierry Reding
    Acked-by: Tomas Winkler
    Acked-by: Patrice Chotard
    Acked-by: William Breathitt Gray
    Reviewed-by: Eric Anholt
    Reviewed-by: Guenter Roeck
    Signed-off-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    Marcus Folkesson
     

25 Feb, 2017

1 commit

  • Use device managed functions to simplify error handling, reduce
    source code size, improve readability, and reduce the likelyhood of bugs.
    Other improvements as listed below.

    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

    - Replace 'goto l; ... l: return e;' with 'return e;'
    - Drop assignments to otherwise unused variables
    - Drop remove function
    - Drop unnecessary mutex_destroy() on allocated data
    - Use devm_watchdog_register_driver() to register watchdog device

    Acked-by: Johannes Thumshirn
    Signed-off-by: Guenter Roeck

    Guenter Roeck
     

29 Dec, 2015

1 commit


28 Sep, 2015

1 commit


10 Sep, 2015

1 commit

  • /sys/class/watchdog/watchdogn/device/modalias can help to identify the
    driver/module for a given watchdog node. However, many wdt devices do not
    set their parent and so, we do not see an entry for device in sysfs for
    such devices.

    This patch fixes parent of watchdog_device so that
    /sys/class/watchdog/watchdogn/device is populated.

    Exceptions: booke, diag288, octeon, softdog and w83627hf -- They do not
    have any parent. Not sure, how we can identify driver for these devices.

    Signed-off-by: Pratyush Anand
    Reviewed-by: Johannes Thumshirn
    Acked-by: Guenter Roeck
    Acked-by: H Hartley Sweeten
    Acked-by: Lee Jones
    Acked-by: Lubomir Rintel
    Acked-by: Maxime Coquelin
    Acked-by: Thierry Reding
    Acked-by: Viresh Kumar
    Acked-by: Linus Walleij
    Signed-off-by: Wim Van Sebroeck

    Pratyush Anand
     

22 Jun, 2015

1 commit


12 Jul, 2013

1 commit