usb: phy: ab8500: silence some uninitialized variable warnings
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 18 Oct 2018 08:04:00 +0000 (11:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Oct 2018 17:44:39 +0000 (19:44 +0200)
commitb8d9ee24493d862fbfeb3d209c032647f6073d5d
tree3911e2fd74352b7b83bec2aed296963609f69a82
parent6494a9ad86de921766afe91066f53a794f6c52ea
usb: phy: ab8500: silence some uninitialized variable warnings

Smatch complains that "reg" can be uninitialized if the
abx500_get_register_interruptible() call fails.  It's an interruptable
function, so we should check if the user presses CTRL-C.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-ab8500-usb.c