pinctrl: sh-pfc: Add sh_pfc_pin_to_bias_reg() helper

Add a helper to look up bias registers and bit number for a specific
pin, using the generic bias register description.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
Geert Uytterhoeven 2017-09-29 15:44:38 +02:00
commit acdb124539
2 changed files with 23 additions and 0 deletions