aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pwm/core.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-05-25 22:31:56 +0200
committerThierry Reding <thierry.reding@gmail.com>2021-06-28 13:25:04 +0200
commit66a03c4fd9e95e192c574811a1f4ea8f62992358 (patch)
tree259235b599c4504f9296d0036ac45d1c18b6e246 /drivers/pwm/core.c
parentpwm: imx1: Simplify using devm_pwmchip_add() (diff)
downloadwireguard-linux-66a03c4fd9e95e192c574811a1f4ea8f62992358.tar.xz
wireguard-linux-66a03c4fd9e95e192c574811a1f4ea8f62992358.zip
pwm: crc: Simplify using devm_pwmchip_add()
With devm_pwmchip_add() we can drop pwmchip_remove() from the device remove callback. The latter can then go away, too and as this is the only user of platform_get_drvdata(), the respective call to platform_set_drvdata() can go, too. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions