commit | e8b69a51b4e72a168e8b3bc5fcac39a7de339864 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa@the-dreams.de> | Sun Feb 21 15:22:27 2016 +0100 |
committer | Darren Hart <dvhart@linux.intel.com> | Wed Mar 23 10:05:48 2016 -0700 |
tree | fb96bb769488de24ebf272da44216c65a8abe4e6 | |
parent | f52ab44fb748537e4e757d5cdb0a79ab847630c7 [diff] |
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: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Darren Hart <dvhart@linux.intel.com>