diff options
author | Zev Weiss <[email protected]> | 2023-08-10 21:59:41 +0930 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2023-08-12 12:12:34 +0200 |
commit | e4ad279ae345413d900d791f2f618d0a1cd0d791 (patch) | |
tree | 430efbb4d810f1d586cd4593345a05851f44f81f /lib/mpi/mpiutil.c | |
parent | 42ff49a1967af71772b264009659ce181f7d2d2a (diff) |
soc: aspeed: uart-routing: Use __sysfs_match_string
The existing use of match_string() caused it to reject 'echo foo' due
to the implicitly appended newline, which was somewhat ergonomically
awkward and inconsistent with typical sysfs behavior. Using the
__sysfs_* variant instead provides more convenient and consistent
linefeed-agnostic behavior.
Signed-off-by: Zev Weiss <[email protected]>
Fixes: c6807970c3bc ("soc: aspeed: Add UART routing support")
Reviewed-by: Joel Stanley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joel Stanley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions