]> git.karo-electronics.de Git - linux-beck.git/commit
[media] lirc_zilog: Remove unneeded tests for existence of the IR Tx function
authorAndy Walls <awalls@md.metrocast.net>
Sun, 16 Jan 2011 01:32:33 +0000 (22:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 13:46:08 +0000 (11:46 -0200)
commit8090232a237ab62e22307fc060097da1a283dd66
treeb51f10f8805b75a55bb8ab23d3b699075aa0bf82
parentb757730b022b4b1367d0435fcaa1b0a01e8aef42
[media] lirc_zilog: Remove unneeded tests for existence of the IR Tx function

The driver is now structured so that it must handle an IR Tx unit
for a Z8 IR chip, or it refuses to handle that Z8 IR chip.  This
allows us to assume that ir->tx != NULL in a few places in the driver,
and also allows us to always report Tx is available to userspace.
Get rid of unneeded tests for ir->tx == NULL and always report that
Tx is available.

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