diff options
| author | Jiri Slaby (SUSE) <[email protected]> | 2023-08-10 11:14:55 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-08-11 21:12:46 +0200 |
| commit | f47a4fd67f2a803f205db7a4136571c2bd487297 (patch) | |
| tree | 527043d068c1361f61ca3ce94377e4d15c0edaf5 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | b97552eb064d2257f4d5657eb6f375fd82a8a481 (diff) | |
tty: don't pass write() to do_tty_write()
write() passed to do_tty_write() is always ld->ops->write(). Instead,
align with iterate_tty_read() and pass the whole ld instead. This makes
the code easier to follow as it is clear what the write is. And also the
function signature is more readable.
Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions