diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-09-14 19:37:31 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-09-19 20:41:54 +0200 |
commit | 5eab3cf3e48cf658f3432e8ba31436d5a4f6a219 (patch) | |
tree | b4e63006aced575a7998e3fbc006942141a773c0 /sound | |
parent | Input: imx6ul_tsc - check for negative return value (diff) | |
download | linux-5eab3cf3e48cf658f3432e8ba31436d5a4f6a219.tar.xz linux-5eab3cf3e48cf658f3432e8ba31436d5a4f6a219.zip |
Input: imx6ul_tsc - use the preferred method for kzalloc()
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.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions