From: Axel Lin Date: Mon, 23 Mar 2015 04:08:18 +0000 (+0800) Subject: phy: qcom-ufs: Don't return error if fail to get optional resource X-Git-Tag: omap-for-v4.2/o2_dc~157^2~3^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52ea796b9161b1b81242e6831d9e128ee207ad2d;p=pandora-kernel.git phy: qcom-ufs: Don't return error if fail to get optional resource "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 Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed