]> git.karo-electronics.de Git - mv-sheeva.git/commit
[media] cx18: Don't use module names to load I2C modules
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 24 Sep 2010 13:04:06 +0000 (10:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 22 Oct 2010 23:55:32 +0000 (21:55 -0200)
commitaa55f3a46fe799b3c8396c57f4b4074252f635da
tree88cf4237a1dae03388a1bfd56573ce9f2bacaa6f
parent84d0d4f0674c55d0625bd1b6eb91dba4ef3948f9
[media] cx18: Don't use module names to load I2C modules

With the v4l2_i2c_new_subdev* functions now supporting loading modules
based on modaliases, replace the hardcoded module name passed to those
functions by NULL.

The sub-devices without a listed module name don't result in and I2C
sub-device being created, as they either are IR devices or don't have an
I2C address listed. It's thus safe to rely on modaliases only.

All corresponding I2C modules have been checked, and all of them include
a module aliases table with names corresponding to what the cx18 driver
uses.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-i2c.c