From: Robert Jarzmik Date: Fri, 10 May 2013 09:45:08 +0000 (+0530) Subject: usb: phy: Fix NULL pointer exception during usb_get_phy X-Git-Tag: v3.10-rc3~26^2~26^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1abd8b3172b701ed626df4ebf09b7fe7f329888a;p=pandora-kernel.git usb: phy: Fix NULL pointer exception during usb_get_phy Upon initialisation (driver probe) a NULL pointer exception is triggered. This is due to lack of initialisation of device field in phy structure, which is used by phy framework in usb_get_phy(). Fix it by initialising the device field. Signed-off-by: Robert Jarzmik Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed