Skip to content
Commit e8b69a51 authored by Wolfram Sang's avatar Wolfram Sang Committed by Darren Hart
Browse files

intel-hid: allocate correct amount of memory for private struct



We want the size of the struct, not of a pointer to it. To be future
proof, just dereference the pointer to get the desired type.

Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent f52ab44f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment