dj: memory scribble in logi_dj
authorAlan Cox <alan@linux.intel.com>
Tue, 4 Sep 2012 14:10:08 +0000 (15:10 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 6 Sep 2012 02:37:08 +0000 (19:37 -0700)
commit8a55ade76551e3927b4e41ee9e7751875d18bc25
tree226d9bab2d98deed4484e9db0a1e5c800076ed1a
parentcb4f9a296472ebd1cde88970194888e962150875
dj: memory scribble in logi_dj

Allocate a structure not a pointer to it !

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hid/hid-logitech-dj.c