[media] dvb-bt8xx: Don't return -EFAULT when a device is not found
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 6 Jul 2011 12:05:41 +0000 (09:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:37 +0000 (17:53 -0300)
When a device (or their PCI structs) are not found, the error should
be -ENODEV. -EFAULT is reserved for errors while copying arguments
from/to userspace.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found