diff options
author | Corentin Labbe <clabbe.montjoie@gmail.com> | 2017-10-21 13:38:12 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2017-11-15 04:56:55 -0500 |
commit | df4f6e8c9f089d8c8406f87df819b4d91277979c (patch) | |
tree | 285111ff8eb2a1283a12ac8f6b44c272135dfb6e /drivers/pwm/pwm-stm32-lp.c | |
parent | 1b3d9a93ed8313e42f108f871133346694de5ac3 (diff) |
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>
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions