usb: chipidea: udc: Use the preferred form for passing a size of a struct
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 8 Sep 2016 12:34:32 +0000 (09:34 -0300)
committerPeter Chen <peter.chen@nxp.com>
Wed, 14 Sep 2016 02:58:13 +0000 (10:58 +0800)
commite74e83724808b72173b557bd8008202109fb6091
treebe3bc745e64cc4ea95388391b2a6da61fe4b043c
parent58001effe172f300d558dffbd723c8521b9404f2
usb: chipidea: udc: Use the preferred form for passing a size of a struct

According to Documentation/CodingStyle:

"The preferred form for passing a size of a struct is the following:

p = kmalloc(sizeof(*p), ...);
"
, so do as suggested to improve readability.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/udc.c