]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: bcma: use devm_kzalloc
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 11 Jun 2015 20:57:37 +0000 (22:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jul 2015 22:43:34 +0000 (15:43 -0700)
commitc27da2b22b558390acc515e71e47b1b307f85d5a
tree6818b1f56f23d451666492809b147fb1c0efc461
parent98e13e05a1bab82c3bec1d867159bc8384acbe5b
USB: bcma: 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/bcma-hcd.c