]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: uniphier: refactor drive strength get/set functions
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Jan 2018 08:34:14 +0000 (17:34 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 11 Jan 2018 09:40:23 +0000 (10:40 +0100)
commitc4b368439573ee699e6334e973074ed907eac7d9
tree272c84cee68c85d9986598232008674fa962fac2
parentddf434c4e1ec06420211dcd545ec917e33714f61
pinctrl: uniphier: refactor drive strength get/set functions

There is code duplication between uniphier_conf_pin_drive_get() and
uniphier_conf_pin_drive_set().  Factor out the common code into
uniphier_conf_get_drvctrl_data().

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c