]> git.baikalelectronics.ru Git - kernel.git/commit
[media] lirc_zilog: Split struct IR into structs IR, IR_tx, and IR_rx
authorAndy Walls <awalls@md.metrocast.net>
Thu, 13 Jan 2011 05:00:33 +0000 (02:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 13:46:04 +0000 (11:46 -0200)
commit25e6f8a4639e097720d86f3fc29fe8b49934e0e3
treef7a53819f5942ced2907596f5208b11734929f4c
parent2a5166901b8b5f9f8fdb23ab9d06d4fd8c969bc6
[media] lirc_zilog: Split struct IR into structs IR, IR_tx, and IR_rx

This change is a mostly mechanical break of the main struct IR
data structure into common, Rx, and Tx structures.  There were some
small logical changes required as well, such as eliminating "is_hdpvr",
to accomplish this.

This change is an intiial step in reworking lirc_zilog to decouple the
Rx and Tx handling as much as possible to fit with the new I2C
binding model.  This change actually makes lirc_zilog a little more
broken than it already was - memory deallocation in particular got worse.
However, this change makes the remaining problems easier to see and address.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/lirc/lirc_zilog.c