diff options
author | Rob Herring <robh@kernel.org> | 2023-11-01 09:45:00 -0500 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-11-23 11:28:46 +0530 |
commit | 4c58e9d85c24b5281a2d39a3e6510b5f3b7fc687 (patch) | |
tree | 5b39cd448875530ee602218472b1734015deceeb /drivers/dma/ste_dma40_ll.h | |
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 <robh@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/dma/ste_dma40_ll.h')
0 files changed, 0 insertions, 0 deletions