V4L/DVB (13825): ir-core: Don't OOPS if IR device props is not defined
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 17 Dec 2009 02:46:48 +0000 (23:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:24 +0000 (15:10 -0300)
commit0f7ff39532f1d2328e54b65ce5022c71f06e44d6
tree800e335ced1e2685611797d63fcdf6ed4f92de9c
parentcd79d33e168dba0d7de32c5bf010e20cff184b2a
V4L/DVB (13825): ir-core: Don't OOPS if IR device props is not defined

As currently most drivers don't define ir_dev->props, we shouldn't assume
that this field is defined.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-sysfs.c