]> git.openpandora.org Git - pandora-kernel.git/commitdiff
phy: qcom-ufs: Don't return error if fail to get optional resource
authorAxel Lin <axel.lin@ingics.com>
Mon, 23 Mar 2015 04:08:18 +0000 (12:08 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 3 Apr 2015 12:46:18 +0000 (18:16 +0530)
"dev_ref_clk_ctrl_mem" is optional resource, so don't return error if fail to
get the resource. Since it's an optional resource, don't emit error if
fail to get dev_ref_clk_ctrl_mem.

Also remove redundant test for res, it's done by devm_ioremap_resource().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-qcom-ufs.c

Simple merge