OpenCloudOS-Kernel/drivers/media/pci/ddbridge
Daniel Scheller c966453b13 media: ddbridge: use common DVB I2C client handling helpers
Instead of keeping duplicated I2C client handling construct, make use of
the newly introduced dvb_module_*() helpers. This not only keeps things
way cleaner and removes the need for duplicated I2C client attach code,
but even allows to get rid of some variables that won't help in making
things look cleaner anymore.

The check on a valid ptr on port->en isn't really needed since the cxd2099
driver will set it at a time where it is going to return successfully
from probing.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-03-08 06:06:51 -05:00
..
Kconfig media: cxd2099: move driver out of staging into dvb-frontends 2018-03-06 08:50:18 -05:00
Makefile media: cxd2099: move driver out of staging into dvb-frontends 2018-03-06 08:50:18 -05:00
ddbridge-ci.c media: ddbridge: use common DVB I2C client handling helpers 2018-03-08 06:06:51 -05:00
ddbridge-ci.h media: ddbridge: move CI detach code to ddbridge-ci.c 2017-12-19 07:19:51 -05:00
ddbridge-core.c media: ddbridge: use common DVB I2C client handling helpers 2018-03-08 06:06:51 -05:00
ddbridge-hw.c media: ddbridge: fixup checkpatch-strict issues 2017-12-11 13:04:45 -05:00
ddbridge-hw.h media: ddbridge: remove ddb_info's from the global scope 2017-08-20 07:41:38 -04:00
ddbridge-i2c.c media: ddbridge: fixup checkpatch-strict issues 2017-12-11 13:04:45 -05:00
ddbridge-i2c.h media: ddbridge: bump ddbridge code to version 0.9.29 2017-08-20 07:01:04 -04:00
ddbridge-io.h media: ddbridge: fix build warnings 2017-11-07 03:12:17 -05:00
ddbridge-main.c media: ddbridge: fixup checkpatch-strict issues 2017-12-11 13:04:45 -05:00
ddbridge-max.c media: ddbridge/max: prefix lnb_init_fmode() and fe_attach_mxl5xx() 2017-12-11 13:04:47 -05:00
ddbridge-max.h media: ddbridge/max: prefix lnb_init_fmode() and fe_attach_mxl5xx() 2017-12-11 13:04:47 -05:00
ddbridge-regs.h media: ddbridge: fixup checkpatch-strict issues 2017-12-11 13:04:45 -05:00
ddbridge.h media: ddbridge: adapt cxd2099 attach to new i2c_client way 2018-03-06 12:13:59 -05:00