Input: imx6ul_tsc - use the preferred method for kzalloc()
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 14 Sep 2015 17:37:31 +0000 (10:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 19 Sep 2015 18:41:54 +0000 (11:41 -0700)
commit5eab3cf3e48cf658f3432e8ba31436d5a4f6a219
treeb4e63006aced575a7998e3fbc006942141a773c0
parent3905de62b2624a4574776b3b7ddfa97758b75edc
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>
drivers/input/touchscreen/imx6ul_tsc.c