aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/loongson1_wdt.c
diff options
context:
space:
mode:
authorAmit Kushwaha <akkushwaha9896@gmail.com>2016-12-06 10:19:48 -0800
committerGuenter Roeck <linux@roeck-us.net>2016-12-16 06:53:55 -0800
commitb6621df5c87603310c3f94903bb30adbfeb9aa69 (patch)
tree8c7fb64a26c3e6fb6137910786f97f6c934cbe19 /drivers/watchdog/loongson1_wdt.c
parentwatchdog: da9062/61: watchdog driver (diff)
downloadlinux-dev-b6621df5c87603310c3f94903bb30adbfeb9aa69.tar.xz
linux-dev-b6621df5c87603310c3f94903bb30adbfeb9aa69.zip
watchdog: cpwd: remove memory allocate failure message
Replaced goto with a return statement and dropped the kfree() calls because memory allocated with devm_kzalloc() is automatically freed on driver detach Signed-off-by: Amit Kushwaha <akkushwaha9896@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/watchdog/loongson1_wdt.c')
0 files changed, 0 insertions, 0 deletions