summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-xgene.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-08-14 17:07:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-04 13:43:55 +0300
commit4ad8e34d1f47fe46a05bb9fb17a7b5704beed446 (patch)
tree3f81e0739f2a226a246ca2df360a211988623d68 /drivers/gpio/gpio-xgene.c
parentc140e97f803f66c0d20a891aba848c1b77880830 (diff)
downloadlinux-4ad8e34d1f47fe46a05bb9fb17a7b5704beed446.tar.xz
serial: mctrl_gpio: Use gpiod flags directly
Description of the modem line control GPIOs contain a boolean type to set direction of the line. Since GPIO library provides an enumerator type of flags, we may utilize it and allow a bit more flexibility on the choice of the type of the line parameters. It also removes an additional layer of value conversion. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20190814140759.17486-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio/gpio-xgene.c')
0 files changed, 0 insertions, 0 deletions