aboutsummaryrefslogtreecommitdiffstats
path: root/block/noop-iosched.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-07-29 15:46:11 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-10 15:01:33 -0400
commitdf5eb3ffa8bfd23be8189cb0c58ed0c4902b6bfd (patch)
treedebc2726c0dd052fbd0ee9813396e302c8dca75c /block/noop-iosched.c
parent84b79838b9bcf7a9c2c09f4de930b8d476f1e70b (diff)
drivers/usb/host/ehci-msm.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. The original code was also missing a call to iounmap(hcd->regs); in the remove function, so this patch also implicitly fixes a bug. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions