mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
507063b2a4
devm_kzalloc allocates memory that is released when a driver detaches. This patch uses devm_kzalloc for data that is allocated in the probe function of a platform device and is only freed in the remove function. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Cc: Rodolfo Giometti <giometti@enneenne.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
clients | ||
generators | ||
kapi.c | ||
kc.c | ||
kc.h | ||
Kconfig | ||
Makefile | ||
pps.c | ||
sysfs.c |