OSDN Git Service

staging: gdm72xx: Modify a struct allocation to match coding standards
authorMichalis Pappas <mpappas@fastmail.fm>
Fri, 9 May 2014 10:08:22 +0000 (18:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 19:12:51 +0000 (12:12 -0700)
commitbaad5ee108bf8a4fdfdc6a381ffb5554dfdeaaa7
tree61fb03a855067140d265aa90f25c122767786c7b
parent917ab47f5a25d636a88a06cdc0ca0432a59b6968
staging: gdm72xx: Modify a struct allocation to match coding standards

Fixes the following checkpatch.pl issue:

CHECK: Prefer kmalloc(sizeof(*entry)...) over kmalloc(sizeof(struct qos_entry_s)...)

Signed-off-by: Michalis Pappas <mpappas@fastmail.fm>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm72xx/gdm_qos.c