Skip to content
Commit e74e8372 authored by Fabio Estevam's avatar Fabio Estevam Committed by Peter Chen
Browse files

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: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
parent 58001eff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment