diff options
| author | Nikola Z. Ivanov <zlatistiv@gmail.com> | 2026-04-27 00:42:50 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-05-11 16:55:37 +0200 |
| commit | 455d4ed5ea5dbdd690f96b5e0582d760cbfc9e8d (patch) | |
| tree | 955e7efa5cf80cb908a7f87a97168e907ab5fc0c /rust/zerocopy | |
| parent | f785606039fdc8c4de2908dfe9bd672de15a76ce (diff) | |
serial: mxs-auart: replace hardcoded 1 with predefined macro GPIO_LINE_DIRECTION_IN
The GPIO_LINE_DIRECTION_* definitions have just recently been exposed to
gpio consumers.h by breaking them out in a separate defs.h file.
Use this to validate the gpio direction instead of the hard-coded literal.
Signed-off-by: Nikola Z. Ivanov <zlatistiv@gmail.com>
Link: https://patch.msgid.link/20260426214250.781151-1-zlatistiv@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/zerocopy')
0 files changed, 0 insertions, 0 deletions
