]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd36a8215513e3c1c107789298d2ecd937207ffec
treee32f381e81f58e731de0c372aa17d20c0490843e
parent8fc39f696a99b83675e676c8b06a627c9a7af7b5
[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