]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: chipidea: ci13xxx_imx: check if 'data->phy_np' is not NULL
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 13 Jun 2013 14:59:50 +0000 (17:59 +0300)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:08 +0000 (09:54 +0800)
commitb35d73b62d2cc245ef32d396535e452c70681bfa
treebfd845f8ec261749de56ce69bdf386a899e4812f
parente154f17efb46ebd3645eb10294cc4a3a6ef1fedb
usb: chipidea: ci13xxx_imx: check if 'data->phy_np' is not NULL

Similarly as it is done in ci13xxx_imx_remove(), only calls of_node_put if
data->phy_np is not NULL.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci13xxx_imx.c