Re: [PATCH v2] platform/x86: xo15-ebook: Use devres-based resource management

From: Andy Shevchenko

Date: Sun May 17 2026 - 04:09:38 EST


On Fri, May 15, 2026 at 01:47:29PM +0200, Rafael J. Wysocki wrote:

> 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().

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

--
With Best Regards,
Andy Shevchenko