]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rts5208: rtsx.c: Alloc sizeof struct
authorWayne Porter <wporter82@gmail.com>
Tue, 11 Oct 2016 21:56:51 +0000 (21:56 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:27:09 +0000 (10:27 +0200)
commitb154f30f1d378b0a7cc12f538ce40b7c22290a7b
treed4483336c0fcc3f5fadf04146b63e0d675e3fa23
parenta1d62897106a7e7785abc97bdff06fae5e874341
staging: rts5208: rtsx.c: Alloc sizeof struct

Satisfy checkpatch message:  Prefer kzalloc(sizeof(*dev->chip)...) over
kzalloc(sizeof(struct rtsx_chip)...)

Signed-off-by: Wayne Porter <wporter82@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx.c