diff options
author | 2016-09-08 09:34:32 -0300 | |
---|---|---|
committer | 2016-09-14 10:58:13 +0800 | |
commit | e74e83724808b72173b557bd8008202109fb6091 (patch) | |
tree | be3bc745e64cc4ea95388391b2a6da61fe4b043c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | usb: chipidea: udc: Fit into a single line (diff) | |
download | linux-dev-e74e83724808b72173b557bd8008202109fb6091.tar.xz linux-dev-e74e83724808b72173b557bd8008202109fb6091.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions