From: Julia Lawall Date: Thu, 6 Dec 2012 23:15:23 +0000 (+0100) Subject: drivers/w1/masters/ds1wm.c: use devm_ functions X-Git-Tag: v3.9-rc1~124^2~112 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eea2172e6915a92cab1d3a79a4961e14a3c388ff;p=pandora-kernel.git drivers/w1/masters/ds1wm.c: use devm_ functions The various devm_ functions allocate memory that is released when a driver detaches. This patch uses these functions 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 Acked-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed