From: Paul Mundt Date: Tue, 17 Jul 2012 06:18:37 +0000 (+0900) Subject: sh: pfc: Error out on pinctrl init resolution failure. X-Git-Tag: v3.6-rc1~131^2^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=159ac0737e66f20a913248668d67444afde53b53;p=platform%2Fkernel%2Flinux-3.10.git sh: pfc: Error out on pinctrl init resolution failure. pinctrl support is required for correct operation, failure to locate the init routine is fatal. Signed-off-by: Paul Mundt --- diff --git a/drivers/sh/pfc/core.c b/drivers/sh/pfc/core.c index b81d335..6816937 100644 --- a/drivers/sh/pfc/core.c +++ b/drivers/sh/pfc/core.c @@ -536,6 +536,9 @@ int register_sh_pfc(struct sh_pfc *pfc) if (unlikely(ret != 0)) goto err; + } else { + pr_err("failed to initialize pinctrl bindings\n"); + goto err; } /*