summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx-tpm.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-11-08 14:46:26 +0100
committerThierry Reding <thierry.reding@gmail.com>2022-02-01 08:34:19 +0100
commit5f97f18feac9bd5a8163b108aee52d783114b36f (patch)
tree570be52662ec6d93c63a9e4f7f42585f29000ac1 /drivers/pwm/pwm-imx-tpm.c
parentpwm: meson: Drop useless check for channel data being NULL (diff)
downloadlinux-5f97f18feac9bd5a8163b108aee52d783114b36f.tar.xz
linux-5f97f18feac9bd5a8163b108aee52d783114b36f.zip
pwm: meson: Simplify duplicated per-channel tracking
The driver tracks per-channel data via struct pwm_device::chip_data and struct meson_pwm::channels[]. The latter holds the actual data, the former is only a pointer to the latter. So simplify by using struct meson_pwm::channels[] consistently. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-imx-tpm.c')
0 files changed, 0 insertions, 0 deletions