[media] ati_remote: Put timeouts at the accel array
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 27 Feb 2016 10:51:12 +0000 (07:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 1 Mar 2016 15:02:32 +0000 (12:02 -0300)
commitfe28f5de11da417056fc1df872e9e26ceb7eb2fe
treee32f381e81f58e731de0c372aa17d20c0490843e
parent55a1a9f1899e3001e32f73ccf6e29a71d9dd5fbc
[media] ati_remote: Put timeouts at the accel array

Instead of having the timeouts hardcoded, and getting only the
accel value from the array, put everything in the same place.

That simplifies the logic.

As a side effect, it also cleans several smatch errors:
include/linux/jiffies.h:359:41: error: strange non-value function or array
include/linux/jiffies.h:361:42: error: strange non-value function or array
(one per time_after/time_before line)

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/ati_remote.c
This page took 0.026887 seconds and 5 git commands to generate.