]> git.baikalelectronics.ru Git - kernel.git/commit
devres: add devm_alloc_percpu()
authorMadalin Bucur <madalin.bucur@nxp.com>
Tue, 15 Nov 2016 08:41:01 +0000 (10:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 03:34:25 +0000 (22:34 -0500)
commitdb1a941c7742a1821aa0ca63fc5abf363aec3034
treecb0fcad962ce162dc6b0326889f0c36646aa3a0c
parent121e9521c8dede9471a1f90682df6ad61796de33
devres: add devm_alloc_percpu()

Introduce managed counterparts for alloc_percpu() and free_percpu().
Add devm_alloc_percpu() and devm_free_percpu() into the managed
interfaces list.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/driver-model/devres.txt
drivers/base/devres.c
include/linux/device.h