OpenCloudOS-Kernel/drivers/usb/phy
LABBE Corentin 928c75fbeb usb: phy: msm: fix a possible NULL dereference
of_match_device could return NULL, and so cause a NULL pointer
dereference later.
Even if the probability of this case is very low, fixing it made
static analyzers happy.
Solving this with of_device_get_match_data made also code simplier.

Reported-by: coverity (CID 1324133)
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-12-08 08:13:28 -06:00
..
Kconfig usb: kconfig: fix warning of select USB_OTG 2015-11-19 14:48:48 -06:00
Makefile usb: phy: qcom: New APQ8016/MSM8916 USB transceiver driver 2015-07-29 09:59:19 -05:00
am35x-phy-control.h usb: phy: Add AM335x PHY driver 2013-08-09 17:34:15 +03:00
of.c usb: phy: fixed comment typo 2015-03-11 10:19:36 -05:00
phy-ab8500-usb.c Merge 4.1-rc7 into usb-next 2015-06-08 10:57:51 -07:00
phy-am335x-control.c usb: phy: am335x-control: check return value of bus_find_device 2015-03-10 16:28:44 -05:00
phy-am335x.c usb: phy: drop owner assignment from platform_drivers 2014-10-20 16:21:50 +02:00
phy-fsl-usb.c usb: phy: phy-fsl-usb: Remove some unused functions 2015-01-12 12:13:29 -06:00
phy-fsl-usb.h usb: phy: fsl: Fix build errors 2014-11-12 08:37:37 -06:00
phy-generic.c usb: phy: phy-generic: Fix reset behaviour on legacy boot 2015-09-14 10:15:08 -05:00
phy-generic.h usb: phy: generic: add vbus support 2015-01-12 12:13:29 -06:00
phy-gpio-vbus-usb.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
phy-isp1301-omap.c usb: phy: isp1301: work around tps65010 dependency 2015-04-27 14:45:14 -05:00
phy-isp1301.c usb: phy: isp1301: Export I2C module alias information 2015-09-21 14:42:36 -05:00
phy-keystone.c usb: phy: phy-keystone: Simplify return statement 2015-08-04 11:02:05 -05:00
phy-msm-usb.c usb: phy: msm: fix a possible NULL dereference 2015-12-08 08:13:28 -06:00
phy-mv-usb.c usb: phy: mv-usb: fix usb_phy build errors 2015-01-13 09:32:22 -06:00
phy-mv-usb.h usb: otg: mv_otg: remove unused clock 2013-04-02 11:42:45 +03:00
phy-mxs-usb.c usb: phy: mxs: add "fsl,imx6ul-usbphy" compatible string 2015-11-19 14:48:50 -06:00
phy-omap-otg.c usb: phy: omap-otg: fix uninitialized pointer 2015-11-16 10:17:40 -06:00
phy-qcom-8x16-usb.c usb: phy: qcom: Switch to new extcon framework API 2015-09-27 10:54:31 -05:00
phy-rcar-usb.c usb: phy: rcar-usb: remove duplicate check on resource 2014-11-03 10:01:21 -06:00
phy-tahvo.c usb: phy: tahvo: Use devm_extcon_dev_[allocate|register]() and replace deprecated API 2015-07-29 09:59:18 -05:00
phy-tegra-usb.c usb: common: of_usb_get_dr_mode to usb_get_dr_mode 2015-09-27 10:54:31 -05:00
phy-twl6030-usb.c usb: phy: drop owner assignment from platform_drivers 2014-10-20 16:21:50 +02:00
phy-ulpi-viewport.c usb: Remove unnecessary semicolons 2013-10-11 16:26:46 -07:00
phy-ulpi.c usb: rename phy to usb_phy in OTG 2014-11-03 10:01:25 -06:00
phy.c usb: phy: Add interface to get phy give of device_node. 2015-05-26 10:42:28 -05:00