diff options
author | Daniel Scheller <d.scheller@gmx.net> | 2018-02-17 16:03:23 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-06 14:48:17 +0100 |
commit | 81a705914b77e700ce142892c1f839488200099d (patch) | |
tree | e05985f9be2c3af10430eb14e5017b24ce8aa20b /drivers/media | |
parent | media: ddbridge/ci: further deduplicate code/logic in ddb_ci_attach() (diff) | |
download | linux-81a705914b77e700ce142892c1f839488200099d.tar.xz linux-81a705914b77e700ce142892c1f839488200099d.zip |
media: staging/cxd2099: convert to regmap API
Convert the cxd2099 driver to use regmap for I2C accesses, removing all
own i2c_*() functions. With that, make the driver a proper I2C client
driver. This also adds the benefit of having a proper cleanup function
(cxd2099_remove() in this case) that takes care of resource cleanup
upon I2C client deregistration.
At this point, keep the static inline declared cxd2099_attach()
function so that drivers using the legacy/proprietary style attach way
still compile, albeit lacking the cxd2099 driver functionality. This
is taken care of in the next two patches.
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Jasmin Jessich <jasmin@anw.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions