summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-sh.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-07-30 16:43:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-10 12:04:09 -0700
commit6c40f5ee0f6213705eb6d3b706fc103b9dba72fb (patch)
tree1f718d4ede6f689f67d8d30734c4e8164cd4815b /drivers/usb/host/ehci-sh.c
parent63fd0ae4b7ca60f7322341b0fbd9cda2f3d2e22d (diff)
downloadop-kernel-dev-6c40f5ee0f6213705eb6d3b706fc103b9dba72fb.zip
op-kernel-dev-6c40f5ee0f6213705eb6d3b706fc103b9dba72fb.tar.gz
drivers/usb/host/ehci-sead3.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>
Diffstat (limited to 'drivers/usb/host/ehci-sh.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud