Re: [PATCH] pinctrl: st: Fix checking return value of syscon_regmap_lookup_by_phandle()

From: Axel Lin
Date: Fri Jun 28 2013 - 08:16:50 EST


2013/6/28 Srinivas KANDAGATLA <srinivas.kandagatla@xxxxxx>:
> Thankyou Axel for looking at this.
>
> There is already a patch is submitted for this.
> https://lkml.org/lkml/2013/6/26/494 which I have Acked.

That is strange.
I don't think the patch you mentioned can be applied to current pinctrl tree.
Current code does check pinctrl_register by IS_ERR.

info->pctl = pinctrl_register(pctl_desc, &pdev->dev, info);
if (IS_ERR(info->pctl)) {

Regards,
Axel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/