mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
parent
1b3d9a93ed
commit
df4f6e8c9f
1 changed files with 4 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue