commit | 63fd0ae4b7ca60f7322341b0fbd9cda2f3d2e22d | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Mon Jul 30 16:43:44 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Aug 10 12:04:09 2012 -0700 |
tree | 314210c7efc35f37adae28e6260d91fa21304a78 | |
parent | 1c5404f7abd250ce71849c2687d266073b54e1d4 [diff] |
drivers/usb/host/ehci-s5p.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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>