diff options
author | Jiri Slaby <[email protected]> | 2016-01-12 10:59:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-02-06 22:16:58 -0800 |
commit | c8e7d143d519724b3bf5b86615eca2962b77a826 (patch) | |
tree | 68395b82c18dced786a12c42ee0e7a9f1c6a0bed /tools/perf/scripts/python/sched-migration.py | |
parent | d4dbe374f430156738d34e4572c58f387d558e83 (diff) |
TTY: serial/m32r_sio, simplify old_serial_port
The only variables in old_serial_port are port and irq. So make
old_serial_port contain only those two and move the initialization of
the rest to the place where old_serial_port is actually read.
Also get rid of SERIAL_PORT_DFNS. It is ugly and having the
initializer where it belongs makes more sense. Finally, use already
defined UART_NR in the loop.
Signed-off-by: Jiri Slaby <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions