diff options
| author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-09-08 15:34:32 +0300 |
|---|---|---|
| committer | Peter Chen <peter.chen@nxp.com> | 2016-09-14 05:58:13 +0300 |
| commit | e74e83724808b72173b557bd8008202109fb6091 (patch) | |
| tree | be3bc745e64cc4ea95388391b2a6da61fe4b043c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 58001effe172f300d558dffbd723c8521b9404f2 (diff) | |
| download | linux-e74e83724808b72173b557bd8008202109fb6091.tar.xz | |
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
