From: Julia Lawall Date: Thu, 28 Feb 2013 01:05:44 +0000 (-0800) Subject: drivers/pps/clients/pps-gpio.c: use devm_kzalloc X-Git-Tag: v3.9-rc1~46^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=507063b2a435b24951bce8e1f67ab65cda490f1b;p=pandora-kernel.git 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 Cc: Rodolfo Giometti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed