staging: gdm724x: correct kzalloc/kmalloc sizeof argument
authorIoana Ciornei <ciorneiioana@gmail.com>
Sun, 18 Oct 2015 12:51:51 +0000 (15:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:02:42 +0000 (19:02 -0700)
commit7b7df122f894f5b731e0f06777302ec248a7d9f1
tree8c5c1bdac0d31ec69c80710bb6ecc22ad12d0916
parentba7f55b705b94e26293971b9fbda183238cdc30c
staging: gdm724x: correct kzalloc/kmalloc sizeof argument

This patch converts sizeof(TYPE) to sizeof(VAR) when used as
a kzalloc/kmaloc argument.

Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm724x/gdm_mux.c
drivers/staging/gdm724x/gdm_tty.c
drivers/staging/gdm724x/gdm_usb.c