diff options
| author | Niklas Söderlund <[email protected]> | 2018-04-14 07:57:00 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-04-20 09:50:07 -0400 |
| commit | bb3ed3fd66888f048cd99466751eeb98b031f676 (patch) | |
| tree | 0db36fd2b16e12fe8dd6db592041d86054f4042a /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 23525ef9f87ebb3a2e3b9141aecd477b2729d669 (diff) | |
media: rcar-vin: move model information to own struct
When Gen3 support is added to the driver more than model ID will be
different for the different SoCs. To avoid a lot of if statements in the
code create a struct rvin_info to store this information.
While we are at it rename the poorly chosen enum which contains the
different model IDs from chip_id to model_id. Also sort the compatible
string entries and make use of of_device_get_match_data() which will
always work as the driver is DT only, so there's always a valid match.
Signed-off-by: Niklas Söderlund <[email protected]>
Reviewed-by: Kieran Bingham <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions