• W
    watchdog: s3c2410_wdt - Fix removing of platform device · 9a372563
    Wim Van Sebroeck 提交于
    When removing the watchdog platform device, we need to
    disable the access to userspace first. It makes no sense
    to remove the drivers clock, irq's, ... and then disable
    userspace access.
    the order of removal has also been changed so that it
    is the reverse of probing (this way the clock is also
    disabled sooner).
    
    Cc: Ben Dooks <ben-linux@fluff.org>
    Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
    9a372563
s3c2410_wdt.c 14.2 KB