diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2019-05-15 12:14:37 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-20 07:40:41 +0200 |
commit | 70eb40836ca4a465adc7f986454fe69a2474e14e (patch) | |
tree | a2e12c18563b70ef4bbe907a770dbb101864e727 /drivers/watchdog/bcm7038_wdt.c | |
parent | staging: kpc2000: added missing clean-up to probe_core_uio. (diff) | |
download | linux-dev-70eb40836ca4a465adc7f986454fe69a2474e14e.tar.xz linux-dev-70eb40836ca4a465adc7f986454fe69a2474e14e.zip |
staging: kpc2000: clean up after probe failure.
On error, kp2000_probe_cores just returned an error without freeing
resources which had previously been allocated. Added the missing
clean-up code.
Updated TODO.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog/bcm7038_wdt.c')
0 files changed, 0 insertions, 0 deletions