diff options
author | Krzysztof Kozlowski <[email protected]> | 2022-03-08 09:09:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-03-18 13:18:59 +0100 |
commit | 7483189d6b3c1dec7e91fa082a4d52cfc9dd1ef0 (patch) | |
tree | 8de2879a7435dedd4f5d9f6eb85477076a0d7142 /net/switchdev/switchdev.c | |
parent | d3a46d0d83f94b5780bcaaea4b4ddbe7c110b35c (diff) |
tty: serial: samsung: embed s3c2410_uartcfg in parent structure
Embed "struct s3c2410_uartcfg" directly as a member of "struct
s3c24xx_serial_drv_data" instead of keeping it as a pointer. This makes
the code clearer (obvious ownership of "s3c2410_uartcfg
s3c24xx_serial_drv_data") and saves one pointer.
Tested-by: Alim Akhtar <[email protected]>
Reviewed-by: Jiri Slaby <[email protected]>
Reviewed-by: Alim Akhtar <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions