phy: bcm-ns-usb2: checking the wrong variable
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 10 May 2016 08:01:33 +0000 (11:01 +0300)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 17 Jun 2016 13:32:08 +0000 (19:02 +0530)
commit6c081ff6fd5abd621797570be43d5e3c6acfcd58
treee402323d39d06160dd30633f21fc12da98a3ed13
parentd99cb37828a2fe344ecc95d1fad570bbe447cc06
phy: bcm-ns-usb2: checking the wrong variable

We intended to test "usb2->phy" here instead of "dev".

Fixes: d3feb4067335 ('phy: bcm-ns-usb2: new driver for USB 2.0 PHY on Northstar')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-bcm-ns-usb2.c