diff options
author | Zev Weiss <[email protected]> | 2021-04-11 22:47:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-04-15 10:18:35 +0200 |
commit | 3b44af4f9f4d9aab7d369b06e7c53db274927582 (patch) | |
tree | 9f5bb27a9f2737c20a81bdea2b69020eb95f174a /lib/mpi/mpi-inline.h | |
parent | a13df3bec5963dc8f0f49257ae4f83c1445acaff (diff) |
serial: 8250_aspeed_vuart: refactor sirq and lpc address setting code
This splits dedicated aspeed_vuart_set_{sirq,lpc_address}() functions
out of the sysfs store functions in preparation for adding DT
properties that will be poking the same registers. While we're at it,
these functions now provide some basic bounds-checking on their
arguments.
Reviewed-by: Andrew Jeffery <[email protected]>
Signed-off-by: Zev Weiss <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions