commit | cbafe9d5c346735d6ac5d5c905fd9c215fbbb941 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Fri Jul 28 21:54:03 2017 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jul 30 07:37:25 2017 -0700 |
tree | a5b4e4d19e0c72ceafdc55854a3553c57e906bd9 | |
parent | 4350782570b919f254c1e083261a21c19fcaee90 [diff] |
drivers/serial: Do not leave sysfs group in case of error in aspeed_vuart_probe() There are several error handling paths in aspeed_vuart_probe(), where sysfs group is left unremoved. The patch fixes them. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>