summaryrefslogtreecommitdiffstats
path: root/drivers/parport/parport_pc.c
diff options
context:
space:
mode:
authorReyad Attiyat <reyad.attiyat@gmail.com>2014-07-17 19:18:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-07-20 13:37:52 +0100
commit2a96540a5c0d136c3c412ec650fad301aaf12bf7 (patch)
tree8ee00e69e046591c6f50c2cea03714a937b2da1b /drivers/parport/parport_pc.c
parent11b8ddab817eb8070a542d33caeb93cccfa4e383 (diff)
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 'drivers/parport/parport_pc.c')
0 files changed, 0 insertions, 0 deletions