diff options
author | Hugo Villeneuve <hvilleneuve@dimonoff.com> | 2023-12-21 18:18:21 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-04 16:30:04 +0100 |
commit | f031d763dcb0b4dbd4bbf1d4324f7ca91761d3b1 (patch) | |
tree | 9b6ec9f50f577678e846016f0478722e6639671f /lib/test_fortify/write_overflow-strlcpy.c | |
parent | e54837da4d81bd297b8b5272594eed41664c13ca (diff) |
serial: sc16is7xx: refactor FIFO access functions to increase commonality
Simplify FIFO access functions by avoiding to declare
a struct sc16is7xx_port *s variable within each function.
This is mainly done to have more commonality between the max310x and
sc16is7xx drivers.
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20231221231823.2327894-15-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy.c')
0 files changed, 0 insertions, 0 deletions