aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-10-26 14:54:17 -0500
committerThierry Reding <[email protected]>2023-12-20 16:04:13 +0100
commit7ee2273197f1c1755ebdad8716eab50689401aff (patch)
tree2696d9b2304d1d84ee12ffd21f3a644ed24e980e /scripts/gdb/linux/utils.py
parentb0445a18d3eef36b7dc4e07a0ccb4f7178251942 (diff)
pwm: 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 these drivers only do DT based matching, of_match_device() will never return NULL if we've gotten to probe(). Therefore, the NULL check and error returns can be dropped. Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions