Skip to content
Commit df4f6e8c authored by Corentin Labbe's avatar Corentin Labbe Committed by Thierry Reding
Browse files

pwm: sunxi: Use of_device_get_match_data()



The usage of of_device_get_match_data reduce the code size a bit.
Furthermore, it prevents an improbable dereference when
of_match_device() returns NULL.

Signed-off-by: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 1b3d9a93
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment