diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-08 12:27:02 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-20 15:50:58 +0300 |
commit | ca133c395f2f6ccf7980677d6583224d23711897 (patch) | |
tree | 200368b94b91cac3c5b1463bd665d10d15cbc03c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9b7632e8fe7f7e0d75a61dccf2917e55022ecb66 (diff) | |
download | linux-ca133c395f2f6ccf7980677d6583224d23711897.tar.xz |
media: atomisp: improve device detection code
- Remove useless check if !dev at the probe function: if
such function is called, the device is defined.
- Cleanup the PCI ID table using macros.
- Use the same macros at the version-dependent part of the
atomisp_v4l2.c file;
- Add print messages to help understand what model the
driver detect;
- If device is not valid, better explain why.
Signed-off-by: Mauro Carvalho Chehehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions