aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2023-08-20 08:58:46 +0100
committerHans Verkuil <[email protected]>2023-09-27 09:39:56 +0200
commitd1560d57d75c05004e19cd3333e72b13940863f4 (patch)
treebc76658ac0bbba0671aa33ca442ff892d4930f6e /tools/perf/scripts/python/libxed.py
parenta111f02464ca74358a001ff710334e09a22cdd7a (diff)
media: i2c: video-i2c: Convert enum->pointer for data in the match tables
Convert enum->pointer for data in the match tables, so that device_get_match_data() can do match against OF/ACPI/I2C tables, once i2c bus type match support added to it. Replace enum->struct *video_i2c_chip for data in the match table. Simplify the probe() by replacing device_get_match_data() and ID lookup for retrieving data by i2c_get_match_data(). Signed-off-by: Biju Das <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions