summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorReyad Attiyat <reyad.attiyat@gmail.com>2014-07-17 22:18:00 +0400
committerJonathan Cameron <jic23@kernel.org>2014-07-20 16:37:52 +0400
commit2a96540a5c0d136c3c412ec650fad301aaf12bf7 (patch)
tree8ee00e69e046591c6f50c2cea03714a937b2da1b /include/linux
parent11b8ddab817eb8070a542d33caeb93cccfa4e383 (diff)
downloadlinux-2a96540a5c0d136c3c412ec650fad301aaf12bf7.tar.xz
iio: hid-sensor-magn-3d: Scan for usage attributes before setting up iio channels
Scan for and count the HID usage attributes supported by the driver. This allows for the driver to only setup the IIO channels for the sensor usages present in the HID USB reports. Changes from v5 -Fixed kernel panic from invalid pointer dereference -Fixed variable assignment style Signed-off-by: Reyad Attiyat <reyad.attiyat@gmail.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions