aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-06-06 21:53:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-08 14:26:22 -0700
commitb0a252ed983b8e6339e01749029749adbaa890de (patch)
tree60f41f631bd6e7bc8a0bbc2d8f8b8852e9fd09c6 /lib/kobject.c
parentUSB: ssb: fix error handling in ssb_hcd_create_pdev() (diff)
downloadwireguard-linux-b0a252ed983b8e6339e01749029749adbaa890de.tar.xz
wireguard-linux-b0a252ed983b8e6339e01749029749adbaa890de.zip
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>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions