aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32-lp.c
diff options
context:
space:
mode:
authorCorentin Labbe <[email protected]>2017-10-21 17:38:12 +0000
committerThierry Reding <[email protected]>2017-11-15 09:56:55 +0000
commitdf4f6e8c9f089d8c8406f87df819b4d91277979c (patch)
tree285111ff8eb2a1283a12ac8f6b44c272135dfb6e /drivers/pwm/pwm-stm32-lp.c
parentpwm: atmel-tcb: Support backup mode (diff)
downloadkernel-df4f6e8c9f089d8c8406f87df819b4d91277979c.tar.gz
kernel-df4f6e8c9f089d8c8406f87df819b4d91277979c.zip
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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions