staging: vt6656: Use variable instead of its type in sizeof(...)
authorSimon Sandström <simon@nikanor.nu>
Fri, 30 Jun 2017 21:38:54 +0000 (23:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jul 2017 06:41:02 +0000 (08:41 +0200)
commitf124a478575b2d12134c97c7e29d782cebb1d049
treee036263d254738e8e8b5447f8cbbb5baaabee81e
parent3781f887860ebaf4a8ba237a18501e03722321e1
staging: vt6656: Use variable instead of its type in sizeof(...)

Use sizeof(variable) instead of sizeof(type) in memory allocations to
prevent problems if the variable type changes in the future.

Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c