Skip to content

Commit

Permalink
sh: pfc: Error out on pinctrl init resolution failure.
Browse files Browse the repository at this point in the history
pinctrl support is required for correct operation, failure to locate
the init routine is fatal.

Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
pmundt committed Jul 17, 2012
1 parent a2d3aff commit 159ac07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/sh/pfc/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit 159ac07

Please sign in to comment.