OpenCloudOS-Kernel/drivers/pps/clients
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
..
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile pps: new client driver using GPIO 2011-11-02 16:07:02 -07:00
pps-gpio.c drivers/pps/clients/pps-gpio.c: use devm_kzalloc 2013-02-27 19:10:23 -08:00
pps-ktimer.c pps: default echo function 2011-11-02 16:07:02 -07:00
pps-ldisc.c pps: Move timestamp read into PPS code proper 2013-02-13 10:13:58 -08:00
pps_parport.c pps: default echo function 2011-11-02 16:07:02 -07:00