Searched hist:"507063 b2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pps/clients/ |
H A D | pps-gpio.c | 507063b2 Wed Feb 27 19:05:44 CST 2013 Julia Lawall <Julia.Lawall@lip6.fr> drivers/pps/clients/pps-gpio.c: use devm_kzalloc
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> 507063b2 Wed Feb 27 19:05:44 CST 2013 Julia Lawall <Julia.Lawall@lip6.fr> drivers/pps/clients/pps-gpio.c: use devm_kzalloc 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>
|