[PATCH v2 0/2] devres: clean up and move percpu allocator

From: Andy Shevchenko

Date: Tue Nov 11 2025 - 09:50:52 EST


Clean up and move managed percpu allocator to devres.h.

Changelog v2:
- fixed build error by adding a missed inclusion

v1: <20251111144104.910241-1-andriy.shevchenko@xxxxxxxxxxxxxxx>

Andy Shevchenko (2):
devres: Remove unused devm_free_percpu()
devres: Move devm_alloc_percpu() and related to devres.h

.../driver-api/driver-model/devres.rst | 1 -
drivers/base/devres.c | 25 -------------------
include/linux/device.h | 19 --------------
include/linux/device/devres.h | 17 +++++++++++++
4 files changed, 17 insertions(+), 45 deletions(-)

--
2.50.1