Re: [PATCH] phy: hix5hd2-sata: Convert to use devm_ioremap_resource

2015-03-01 Thread zhangfei
On 03/02/2015 02:32 PM, Axel Lin wrote: devm_ioremap_resource() also has sanity check for the res argument which is missed in current code. I remember we can not use devm_ioremap_resource here, because the memory region is shared with sata controller. And devm_request_mem_region would fail.

[PATCH] phy: hix5hd2-sata: Convert to use devm_ioremap_resource

2015-03-01 Thread Axel Lin
devm_ioremap_resource() also has sanity check for the res argument which is missed in current code. Signed-off-by: Axel Lin --- drivers/phy/phy-hix5hd2-sata.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-hix5hd2-sata.c b/drivers/phy/phy-hix5hd2-sata.c