summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-clps711x.c
diff options
context:
space:
mode:
authoroliver@schinagl.nl <oliver@schinagl.nl>2016-08-25 18:47:09 +0200
committerThierry Reding <thierry.reding@gmail.com>2016-09-08 10:55:05 +0200
commitfe0e2cf931fc3c156850ae5184e7ecf9576431f8 (patch)
treeca56774cf1c5cf091b23915a3b807d4914dca4be /drivers/pwm/pwm-clps711x.c
parentpwm: sunxi: Add H3 support (diff)
downloadlinux-fe0e2cf931fc3c156850ae5184e7ecf9576431f8.tar.xz
linux-fe0e2cf931fc3c156850ae5184e7ecf9576431f8.zip
pwm: lpc-18xx: use pwm_set_chip_data
The lpc-18xx driver currently manipulates the pwm_device struct directly rather than using the pwm_set_chip_data() function. While the current method may save a clock cycle or two, using the explicit function call makes it more obvious that data is set to the local chip data pointer. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Reviewed-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-clps711x.c')
0 files changed, 0 insertions, 0 deletions