summaryrefslogtreecommitdiffstats
path: root/drivers/uwb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-12-02 15:56:47 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 18:42:22 -0200
commit7fee03e487e87a196deb5602ee3c7676511995c9 (patch)
treeb46cfcd2d0cbe8640125cbd6548355872e36c193 /drivers/uwb
parenta53e21257171af42c9fa6aee417f7891744d6ebf (diff)
downloadblackbird-op-linux-7fee03e487e87a196deb5602ee3c7676511995c9.tar.gz
blackbird-op-linux-7fee03e487e87a196deb5602ee3c7676511995c9.zip
V4L/DVB (13540): ir-common: Cleanup get key evdev code
The same loop to seek for a key were used on different places. Also, no spinlock were protecting it to avoid the risk of replacing a keycode while seeking for a new code. This cleanup does: - create an unique function to seek for a code; - adds an spinlock to protect the table lookup; - remove some unused code; - simplifies to code to make it easier to understand. Basically no change in behavior should be noticed after this patch. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud