diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-09-04 21:17:13 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-10-04 00:58:15 -0700 |
commit | 69a2229b05046eb42258b45df1f43248de8a3472 (patch) | |
tree | 8e15e45eb85b85f37134413271a520eb61681ff9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bc656ececfac95a9ff9a58cbfc3042228c18c857 (diff) |
Input: synaptics-rmi4 - use guard notation when pausing serio port in F03
Using guard notation makes the code more compact and error handling
more robust by ensuring that serio ports are resumed in all code paths
when control leaves critical section.
Link: https://lore.kernel.org/r/20240905041732.2034348-9-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions