serial: sccnxp: Disable regulator on error
authorAlexander Shiyan <shc_work@mail.ru>
Wed, 31 Jul 2013 10:56:29 +0000 (14:56 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 01:08:01 +0000 (18:08 -0700)
The patch disables the regulator in case of errors, if we have it.
In addition, the patch adds support for deferred regulator probe and
makes error path are a bit clean.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found