]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
pinctrl: sh-pfc: Add sh_pfc_pin_to_bias_reg() helper
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 29 Sep 2017 13:44:38 +0000 (15:44 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 20 Oct 2017 09:37:03 +0000 (11:37 +0200)
commitacdb12453910d86dce3baa95c12178893c0aa32d
tree762e5bf907230339f8eb0224842569ea13c08475
parentbeaa34d9080f20c9f0994071703c5d5c012afb56
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>
drivers/pinctrl/sh-pfc/core.c
drivers/pinctrl/sh-pfc/core.h