]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
[media] lirc_zilog: Use sizeof(*p) instead of sizeof(struct P)
authorRicardo Silva <rjpdasilva@gmail.com>
Mon, 15 May 2017 19:40:15 +0000 (16:40 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 12:12:13 +0000 (09:12 -0300)
commitd44e07c752ecfed1fb131cd0c5f103e299c22ab4
tree648c2998b6966a7e385af39beb8908531be8c1c7
parent41a603f8d94c6e7627ddd4e13763b4523aa473ac
[media] lirc_zilog: Use sizeof(*p) instead of sizeof(struct P)

Fix all checkpatch reported issues for "CHECK: Prefer
kzalloc(sizeof(*<p>)...) over kzalloc(sizeof(struct <P>)...)".

Other similar case in the code already using recommended style, so make
it all consistent with the recommended practice.

Signed-off-by: Ricardo Silva <rjpdasilva@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/lirc/lirc_zilog.c