diff options
author | Hugo Villeneuve <[email protected]> | 2023-12-21 18:18:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-01-04 16:30:05 +0100 |
commit | 0c84bea0cabc4e2b98a3de88eeb4ff798931f056 (patch) | |
tree | 4f55a063d327843cc1d013ee7db3231c62627d74 /drivers/tty/serial/sunzilog.c | |
parent | 2de8a1b46756b5a79d8447f99afdfe49e914225a (diff) |
serial: sc16is7xx: refactor EFR lock
Move common code for EFR lock/unlock of mutex into functions for code reuse
and clarity.
With the addition of old_lcr, move irda_mode within struct sc16is7xx_one to
reduce memory usage:
Before: /* size: 752, cachelines: 12, members: 10 */
After: /* size: 744, cachelines: 12, members: 10 */
Signed-off-by: Hugo Villeneuve <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sunzilog.c')
0 files changed, 0 insertions, 0 deletions