Hi Jingoo, > Use devm_*() functions to make cleanup paths simpler. > > Signed-off-by: Jingoo Han <[email protected]> > --- > Changes since v1: > - used sizeof(*nuc900_wdt) instead of sizeof(struct nuc900_wdt) > - declared 'nuc900_wdt->res' variable as logical variable > > drivers/watchdog/nuc900_wdt.c | 50 > +++++++++-------------------------------- > 1 files changed, 11 insertions(+), 39 deletions(-) >
Patch added to linux-watchdog-next. Kind regards, Wim. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

