USB: ssb: use devm_kzalloc
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 6 Jun 2015 19:53:04 +0000 (21:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jun 2015 21:26:22 +0000 (14:26 -0700)
commitb0a252ed983b8e6339e01749029749adbaa890de
tree60f41f631bd6e7bc8a0bbc2d8f8b8852e9fd09c6
parent87997195e341f2ca175e793460a66f5170f76921
USB: ssb: use devm_kzalloc

Instead of manually handling the frees use devm. There was also a free
missing in the unregister call which is not needed with devm.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ssb-hcd.c
This page took 0.029988 seconds and 5 git commands to generate.