Biju Das
a142f7bb89
media: i2c: adv7180: Extend match support for OF tables
...
The driver has an OF match table, still, it uses an ID lookup table for
retrieving match data. Currently, the driver is working on the
assumption that an I2C device registered via OF will always match a
legacy I2C device ID. The correct approach is to have an OF device ID
table using i2c_get_match_data() if the devices are registered via OF/ID.
Unify the OF/ID table by using struct adv7180_chip_info as match data for
both these tables and replace the ID lookup table for the match data by
i2c_get_match_data().
While at it, remove the trailing comma in the terminator entry for the OF
table making code robust against (theoretical) misrebases or other similar
things where the new entry goes _after_ the termination without the
compiler noticing.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-10-07 10:55:45 +02:00
..
2023-08-10 07:57:40 +02:00
2023-09-27 09:39:59 +02:00
2023-09-27 09:40:01 +02:00
2023-08-10 07:58:38 +02:00
2023-05-25 16:21:21 +02:00
2023-07-14 13:07:18 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-10-07 10:55:45 +02:00
2023-05-25 16:21:21 +02:00
2022-06-10 14:51:35 +02:00
2023-05-25 16:21:21 +02:00
2022-06-10 14:51:35 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2022-11-25 08:35:48 +00:00
2023-09-27 09:39:59 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-08-10 07:58:33 +02:00
2021-01-12 17:55:28 +01:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-08-14 20:27:58 +02:00
2023-08-14 20:27:58 +02:00
2023-08-14 20:27:58 +02:00
2023-05-25 16:21:21 +02:00
2023-08-10 07:58:41 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-09-27 09:39:59 +02:00
2023-09-27 09:39:59 +02:00
2023-09-27 09:39:59 +02:00
2023-09-27 09:39:59 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:40:00 +02:00
2023-05-25 16:21:21 +02:00
2023-08-10 07:58:39 +02:00
2023-09-27 09:39:57 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:39:58 +02:00
2023-09-27 09:39:58 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:39:58 +02:00
2023-09-27 09:39:57 +02:00
2023-05-25 16:21:21 +02:00
2023-07-14 12:36:56 +02:00
2023-08-14 20:27:56 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-08-10 07:58:41 +02:00
2023-05-25 16:21:21 +02:00
2019-11-10 17:47:14 +01:00
2021-06-17 11:30:21 +02:00
2021-06-17 11:30:21 +02:00
2023-09-27 09:39:56 +02:00
2023-05-25 16:21:21 +02:00
2023-09-27 10:47:22 +02:00
2020-11-16 10:31:07 +01:00
2023-09-27 09:39:58 +02:00
2023-09-27 09:39:57 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-09-27 09:39:57 +02:00
2023-09-27 09:39:57 +02:00
2023-09-27 09:39:57 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:39:57 +02:00
2023-09-27 09:39:57 +02:00
2023-09-27 09:39:57 +02:00
2023-08-14 20:27:57 +02:00
2023-09-27 09:39:58 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:39:58 +02:00
2023-09-27 09:39:57 +02:00
2023-05-25 16:21:21 +02:00
2023-09-27 09:39:59 +02:00
2023-05-25 16:21:21 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:39:57 +02:00
2023-09-27 09:39:59 +02:00
2023-05-25 16:21:21 +02:00
2023-09-27 09:39:57 +02:00
2023-05-25 16:21:21 +02:00
2023-09-27 09:39:57 +02:00
2023-09-27 09:39:59 +02:00
2023-09-27 09:40:00 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-09-27 09:39:59 +02:00
2023-05-25 16:21:21 +02:00
2021-02-06 09:38:05 +01:00
2023-05-25 16:21:21 +02:00
2023-09-27 09:40:00 +02:00
2023-09-27 09:40:00 +02:00
2023-07-28 10:43:08 +02:00
2023-09-14 23:31:55 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2019-11-10 17:47:14 +01:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-08-10 07:58:36 +02:00
2023-09-27 09:39:57 +02:00
2023-07-19 12:57:47 +02:00
2023-08-10 07:58:32 +02:00
2021-10-19 08:08:38 +01:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2021-03-22 10:23:43 +01:00
2023-05-25 16:21:21 +02:00
2019-11-10 17:47:14 +01:00
2023-07-14 13:08:14 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-09-27 09:39:56 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00
2023-05-25 16:21:21 +02:00