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.

    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;'
    - Replace 'val = e; return val;' with 'return e;'
    - Drop assignments to otherwise unused variables
    - Replace 'if (e) { return expr; }' with 'if (e) return expr;'
    - Drop remove function
    - Drop platform_set_drvdata()
    - Use devm_watchdog_register_driver() to register watchdog device

    Acked-by: Charles Keepax
    Signed-off-by: Guenter Roeck

    Guenter Roeck
     

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
     

31 Mar, 2014

1 commit

  • The site-specific OOM messages are unnecessary, because they
    duplicate the MM subsystem generic OOM message. For example,
    k.alloc and v.alloc failures use dump_stack().

    Signed-off-by: Jingoo Han
    Reviewed-by: Jean Delvare [for at32ap700x]
    Acked-by: Lubomir Rintel [for bcm2835]
    Acked-by: Viresh Kumar [for sp805_wdt]
    Acked-by: Mika Westerberg [for ts72xx_wdt]
    Reviewed-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    Jingoo Han
     

18 Nov, 2013

1 commit


12 Jul, 2013

2 commits


29 Nov, 2012

3 commits

  • CONFIG_HOTPLUG is going away as an option so __devexit is no
    longer needed.

    Signed-off-by: Bill Pemberton
    Cc: Wim Van Sebroeck
    Cc: Wan ZongShun
    Cc: Ben Dooks
    Cc: Kukjin Kim
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     
  • CONFIG_HOTPLUG is going away as an option so __devinit is no longer
    needed.

    Signed-off-by: Bill Pemberton
    Cc: Wim Van Sebroeck
    Cc: Wan ZongShun
    Cc: Ben Dooks
    Cc: Kukjin Kim
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     
  • CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
    needed.

    Signed-off-by: Bill Pemberton
    Cc: Wim Van Sebroeck
    Cc: Wan ZongShun
    Cc: Ben Dooks
    Cc: Kukjin Kim
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     

23 May, 2012

1 commit


28 Mar, 2012

2 commits


06 Jan, 2012

3 commits


17 Nov, 2011

1 commit


06 Nov, 2011

1 commit


28 Jun, 2011

1 commit

  • Due to the whole single instance based watchdog API we use static data
    for the wm831x watchdog which means that if the system tries to register
    a second one we end up trying to register the same miscdevice again,
    corrupting the miscdevice list. Work around this by checking for duplicate
    registrations until we get a watchdog core.

    Signed-off-by: Mark Brown
    Signed-off-by: Wim Van Sebroeck

    Mark Brown
     

07 Mar, 2010

1 commit


18 Sep, 2009

1 commit

  • The WM831x series of devices provide a watchdog with configurable
    behaviour on timer expiry.

    Currently this driver support refreshes via a register or GPIO line and
    autonomous refreshes from a hardware source (eg, a clock).

    Signed-off-by: Mark Brown
    Signed-off-by: Wim Van Sebroeck

    Mark Brown