[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)
commit06da95a3ec831dee23f6af58934944a8eb9c3a56
treef7a53819f5942ced2907596f5208b11734929f4c
parent02fcaaa3a52b2bdad8a08a3ee5747f27f27df27d
[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