aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/masters/mxc_w1.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-12-07 00:15:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-15 23:38:43 -0800
commiteea2172e6915a92cab1d3a79a4961e14a3c388ff (patch)
treed37dfa0ae8ab771df7ec8227d52a7a6dfc4c102e /drivers/w1/masters/mxc_w1.c
parentMerge tag 'extcon-for-3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-next (diff)
downloadlinux-dev-eea2172e6915a92cab1d3a79a4961e14a3c388ff.tar.xz
linux-dev-eea2172e6915a92cab1d3a79a4961e14a3c388ff.zip
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 <Julia.Lawall@lip6.fr> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/masters/mxc_w1.c')
0 files changed, 0 insertions, 0 deletions