OSDN Git Service

[media] rc: img-ir: add scancode requests to a struct
authorSifan Naeem <sifan.naeem@imgtec.com>
Thu, 11 Dec 2014 20:06:22 +0000 (17:06 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Dec 2014 17:11:50 +0000 (15:11 -0200)
commitab93ce06eef556cc85a016e12ff7c7a763f04c91
treebc70c21ab5d916eb594fda95c00c193a4feda3ad
parent32e63f0368ed16e5ac417dc0bc2a5f8acbfb1511
[media] rc: img-ir: add scancode requests to a struct

The information being requested of hardware decode callbacks through
the img-ir-hw scancode API is mounting up, so combine it into a struct
which can be passed in with a single pointer rather than multiple
pointer arguments. This allows it to be extended more easily without
touching all the hardware decode callbacks.

Signed-off-by: Sifan Naeem <sifan.naeem@imgtec.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/img-ir/img-ir-hw.c
drivers/media/rc/img-ir/img-ir-hw.h
drivers/media/rc/img-ir/img-ir-jvc.c
drivers/media/rc/img-ir/img-ir-nec.c
drivers/media/rc/img-ir/img-ir-sanyo.c
drivers/media/rc/img-ir/img-ir-sharp.c
drivers/media/rc/img-ir/img-ir-sony.c