diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-03-03 14:26:16 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-03-24 10:38:29 +0100 |
commit | ec0794a122db146ac58984afd198062d0349b92a (patch) | |
tree | 6036bc4f2f876d647286b9fc8092acf9746fcf66 /drivers/nfc | |
parent | 4b6e6c19895b923b1ebfb5312902e905e2a1f91a (diff) |
pinctrl: renesas: Factor out common R-Mobile bias handling
The pin control sub-drivers for SH/R-Mobile SoCs contain almost
identical bias handling. The only SoC-specific part is the mapping from
pin numbers to PORTnCR registers.
Reduce code duplication by factoring out the bias handling to the common
pinctrl.c code. Use a callback to handle the pin/register mapping.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20210303132619.3938128-4-geert+renesas@glider.be
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions