usbtmc: convert to devm_kzalloc
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 15 Jul 2013 08:59:41 +0000 (11:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 19:01:12 +0000 (12:01 -0700)
commite6c7efdcb76f11b04e3d3f71c8d764ab75c9423b
tree7a2eae3dbabbd3dacc611603452ea32f61535541
parentbbf4976e7715da4a3e3599a500eb20d6be8b5046
usbtmc: convert to devm_kzalloc

kfree(data) will be called implicitly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/usbtmc.c