OpenCloudOS-Kernel/drivers/pps
Julia Lawall 507063b2a4 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>
2013-02-27 19:10:23 -08:00
..
clients drivers/pps/clients/pps-gpio.c: use devm_kzalloc 2013-02-27 19:10:23 -08:00
generators pps: remove unreachable code 2011-03-22 17:44:17 -07:00
Kconfig pps, ptp: Remove dependencies on EXPERIMENTAL 2012-11-01 11:35:17 -04:00
Makefile pps: add parallel port PPS signal generator 2011-01-13 08:03:21 -08:00
kapi.c pps: convert to idr_alloc() 2013-02-27 19:10:18 -08:00
kc.c pps: add kernel consumer support 2011-01-13 08:03:21 -08:00
kc.h pps: add kernel consumer support 2011-01-13 08:03:21 -08:00
pps.c pps: convert to idr_alloc() 2013-02-27 19:10:18 -08:00
sysfs.c LinuxPPS: core support 2009-06-18 13:04:04 -07:00