mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-04 19:54:59 +00:00
serial: sa1100: use container_of to resolve sa1100_port from uart_port
Use container_of instead of casting first structure member. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b6b30d67f3
commit
c9db776b57
1 changed files with 30 additions and 15 deletions
Loading…
Add table
Add a link
Reference in a new issue