diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-05-15 13:47:29 +0200 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-05-20 13:06:59 +0300 |
| commit | 5cfb132da0afd3a711e2d5279243100102d2e836 (patch) | |
| tree | 0aaa3ef77a847b178b59432a472bb92c154b6aa2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4339fa4fae057c99cbcfd8127769219feb14964b (diff) | |
platform/x86: xo15-ebook: Use devres-based resource management
Use devm_kzalloc() and devm_input_allocate_device() in
ebook_switch_probe() for allocating the button object and the
input device, respectively, to simplify the rollback path in
that function and ebook_switch_remove().
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/6015220.DvuYhMxLoT@rafael.j.wysocki
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
