serial: sh-sci: Fix probe error paths
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 12 Jun 2012 22:28:23 +0000 (00:28 +0200)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 13 Jun 2012 01:22:08 +0000 (10:22 +0900)
When probing fails, the driver must not try to cleanup resources that
have not been initialized. Fix this.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found