commit | 8f569c0b4e6b6bd5db1d09551b2df87d912f124e | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Mar 02 10:21:16 2018 -0500 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Tue Mar 06 05:00:31 2018 -0500 |
tree | f8311565f09f55db349bf9937e46cb9f6ff56c68 | |
parent | f410b4093fdd4d8f4644d3d486afe3040eceef7b [diff] |
media: dvb-core: add helper functions for I2C binding The dvb_attach()/dvb_detach() methods are ugly hacks designed to keep using the I2C low-level API. The proper way is to do I2C bus bindings instead. Several modules were already converted to use it. Yet, it is painful to use it, as lots of code need to be duplicated. Make it easier by providing two new helper functions: - dvb_module_probe() - dvb_module_release() Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>