diff options
author | Serge Semin <[email protected]> | 2019-05-14 13:14:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-05-21 12:15:53 +0200 |
commit | 1b5d239af3dad5b2572c9dab2e70f6735410e18f (patch) | |
tree | 80157d25558d35bdefbda24ad0502c817eda84d9 /tools/perf/scripts/python/futex-contention.py | |
parent | 2987590b7846bc55530d02fcb568ce338a1e5bdd (diff) |
tty: max310x: Introduce max310x_one port macro-wrapper
uart_port structure instance is embedded into the max310x_one
super-structure, which is accessed by some of the uart-port callback
methods. In order to improve the callback's code readability lets
define the to_max310x_port() wrapper which just translates the passed
uart_port pointer to the max310x_one one. It is also going to be
handy in future commits.
Signed-off-by: Serge Semin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions