diff options
author | Axel Lin <[email protected]> | 2015-03-03 09:05:55 +0800 |
---|---|---|
committer | Kishon Vijay Abraham I <[email protected]> | 2015-03-26 05:06:09 +0530 |
commit | d89a7f69d69409ffafad7affc1cc3085d2cd0dd8 (patch) | |
tree | 8c5596899f24618ad3f7fe04250f605d3d164c5c /lib/mpi/mpiutil.c | |
parent | 080de5ba390c54b7504c43b36ae21911acf66b30 (diff) |
phy: qcom-ufs: Catch devm_phy_create failure in ufs_qcom_phy_generic_probe
Current code does NULL test against return value of ufs_qcom_phy_generic_probe.
However, in the case of devm_phy_create() failure, ufs_qcom_phy_generic_probe
does not return NULL. Fix it.
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions