commit | e74e83724808b72173b557bd8008202109fb6091 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@nxp.com> | Thu Sep 08 09:34:32 2016 -0300 |
committer | Peter Chen <peter.chen@nxp.com> | Wed Sep 14 10:58:13 2016 +0800 |
tree | be3bc745e64cc4ea95388391b2a6da61fe4b043c | |
parent | 58001effe172f300d558dffbd723c8521b9404f2 [diff] |
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>