diff options
| author | Haavard Skinnemoen <[email protected]> | 2008-02-08 04:21:08 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-08 09:22:37 -0800 |
| commit | c811ab8c2daf6bc2b5761937929a62fa84b18b32 (patch) | |
| tree | 2a3d5be5b449bc470a170efa771b404d06f5d17d /tools/perf/scripts/python | |
| parent | 6433471d33c09d69d029b1c4b7bdd1612c492587 (diff) | |
atmel_serial: use container_of instead of direct cast
As pointed out by David Brownell, we really ought to be using container_of
when converting from "struct uart_port *" to "struct atmel_uart_port *".
Signed-off-by: Haavard Skinnemoen <[email protected]>
Cc: Andrew Victor <[email protected]>
Tested-by: Marc Pignat <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions