Alexey Khoroshilov d34138d057 pcmcia: synclink_cs: fix error handling in mgslpc_probe()
mgslpc_probe() ignores errors in mgslpc_add_device() and
does not release all resource if mgslpc_config() failed.

The patch adds returned code to mgslpc_add_device()
and fixes the both issues.

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>
2013-02-08 12:21:19 -08:00
..
2012-10-16 18:07:12 -07:00
2012-11-21 12:55:19 -08:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:03 +01:00
2012-10-07 07:22:32 -07:00
2012-10-28 19:29:19 +01:00
2012-11-21 12:55:19 -08:00
2011-01-10 08:51:44 -08:00
2012-11-21 12:55:19 -08:00
2012-11-21 12:55:19 -08:00