summaryrefslogtreecommitdiff
path: root/drivers/misc/m4sensorhub_pedometer.c
diff options
context:
space:
mode:
authorEric Tashakkor <w36098@motorola.com>2014-07-22 10:25:18 -0500
committerERIC TASHAKKOR <w36098@motorola.com>2014-07-22 15:31:27 +0000
commit6e74ce6e77c84f13db8fbc0a339d34438b0671b5 (patch)
tree10f175fba7f8d65ce28306d9010254935925b18d /drivers/misc/m4sensorhub_pedometer.c
parentf8cde617fe75279d90d66f96744d8282d49a872e (diff)
downloadolio-linux-3.10-6e74ce6e77c84f13db8fbc0a339d34438b0671b5.tar.xz
olio-linux-3.10-6e74ce6e77c84f13db8fbc0a339d34438b0671b5.zip
IKXCLOCK-3040 Remove Unnecessary IIO Parameters
Removed IIO settings that caused an unused sysfs file to be created, which causes a kernel panic when read. Added a gesture count to the gesture driver to differentiate new gestures. Change-Id: I0e88c88356560c276867388b057ac0a9bb76167e Signed-off-by: Eric Tashakkor <w36098@motorola.com>
Diffstat (limited to 'drivers/misc/m4sensorhub_pedometer.c')
-rw-r--r--drivers/misc/m4sensorhub_pedometer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/misc/m4sensorhub_pedometer.c b/drivers/misc/m4sensorhub_pedometer.c
index fbc385958de..699ba9fb571 100644
--- a/drivers/misc/m4sensorhub_pedometer.c
+++ b/drivers/misc/m4sensorhub_pedometer.c
@@ -567,9 +567,6 @@ static const struct iio_info m4ped_iio_info = {
static const struct iio_chan_spec m4ped_iio_channels[] = {
{
.type = IIO_PEDOMETER,
- .indexed = 1,
- .channel = 0,
- .info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
.scan_index = 0,
.scan_type = {
.sign = 'u',