diff options
author | Amit Kushwaha | 2016-12-06 19:19:48 +0100 |
---|---|---|
committer | Guenter Roeck | 2016-12-16 15:53:55 +0100 |
commit | b6621df5c87603310c3f94903bb30adbfeb9aa69 (patch) | |
tree | 8c7fb64a26c3e6fb6137910786f97f6c934cbe19 /drivers/watchdog/Kconfig | |
parent | watchdog: da9062/61: watchdog driver (diff) | |
download | kernel-qcow2-linux-b6621df5c87603310c3f94903bb30adbfeb9aa69.tar.gz kernel-qcow2-linux-b6621df5c87603310c3f94903bb30adbfeb9aa69.tar.xz kernel-qcow2-linux-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/Kconfig')
0 files changed, 0 insertions, 0 deletions