summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/ideapad-laptop.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2016-02-21 17:22:27 +0300
committerDarren Hart <dvhart@linux.intel.com>2016-03-23 20:05:48 +0300
commite8b69a51b4e72a168e8b3bc5fcac39a7de339864 (patch)
treefb96bb769488de24ebf272da44216c65a8abe4e6 /drivers/platform/x86/ideapad-laptop.c
parentf52ab44fb748537e4e757d5cdb0a79ab847630c7 (diff)
downloadlinux-e8b69a51b4e72a168e8b3bc5fcac39a7de339864.tar.xz
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>
Diffstat (limited to 'drivers/platform/x86/ideapad-laptop.c')
0 files changed, 0 insertions, 0 deletions