On Thu, Feb 23, 2017 at 12:12 PM, Andrzej Hajda <a.hajda@xxxxxxxxxxx> wrote: > Some pinctrls share memory regions, and devm_ioremap_resource does not > allow to share resources, in opposition to devm_ioremap. > This patch restores back usage of devm_ioremap function, but with proper > error handling and logging. > > Fixes: baafaca ("pinctrl: samsung: Fix return value check in samsung_pinctrl_get_soc_data()") > Signed-off-by: Andrzej Hajda <a.hajda@xxxxxxxxxxx> > --- > v2: > - added platform_get_resource error check (thanks to Krzysztof) > > drivers/pinctrl/samsung/pinctrl-samsung.c | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) Thanks for update. Looks good: Reviewed-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html