[media] hdpvr: fix up i2c device registration
authorJarod Wilson <jarod@redhat.com>
Wed, 19 Jan 2011 21:10:14 +0000 (18:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 31 Jan 2011 14:18:04 +0000 (12:18 -0200)
We have to actually call i2c_new_device() once for each of the rx and tx
addresses. Also improve error-handling and device remove i2c cleanup.

Reviewed-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found