diff options
| author | Rob Herring <[email protected]> | 2023-11-01 09:45:00 -0500 |
|---|---|---|
| committer | Viresh Kumar <[email protected]> | 2023-11-23 11:28:46 +0530 |
| commit | 4c58e9d85c24b5281a2d39a3e6510b5f3b7fc687 (patch) | |
| tree | 5b39cd448875530ee602218472b1734015deceeb /drivers/media/v4l2-core/v4l2-ctrls-request.c | |
| parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) | |
opp: ti: Use device_get_match_data()
Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data. With this, adjust the includes to explicitly
include the correct headers.
As this driver only does DT based matching, of_match_device() will never
return NULL if we've gotten to probe(). Therefore, the NULL check and
error return for it can be dropped.
Signed-off-by: Rob Herring <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ctrls-request.c')
0 files changed, 0 insertions, 0 deletions