diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-08-18 21:58:00 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2025-07-01 14:15:58 -0700 |
commit | 706a066328dbdd7a15ac4904905fa7f8bd29cdf0 (patch) | |
tree | abc6dcdfa9b516c30391fcf8e9740f99cb7ce9f1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4d4d74c6c9931b3c16ec49f0fb26c547be90f998 (diff) |
Input: samsung-keypad - do not combine memory allocation checks
The driver uses devm API to allocate resources so there's no reason
to do allocations first and then check and release everything at once.
Check results immediately after doing allocation of each resource.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240819045813.2154642-4-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