watchdog: riowd: use devm_kzalloc()
authorJingoo Han <jg1.han@samsung.com>
Tue, 30 Apr 2013 05:01:59 +0000 (14:01 +0900)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 11 Jul 2013 18:56:47 +0000 (20:56 +0200)
commita508e2e634f9ea462c3beb56e12aa50ba9e8b0a9
tree63686684b9bc801c0fcb41f2a5cc2b098ae2dfff
parent52ccc5aca4c9cf35974c1ea3b53fc43044b29361
watchdog: riowd: use devm_kzalloc()

Use devm_kzalloc() to make cleanup paths simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/riowd.c