summaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-05-25 23:31:56 +0300
committerThierry Reding <thierry.reding@gmail.com>2021-06-28 14:25:04 +0300
commit66a03c4fd9e95e192c574811a1f4ea8f62992358 (patch)
tree259235b599c4504f9296d0036ac45d1c18b6e246 /arch/riscv
parentf7edeb4023efcd6494176095560ddd34f3bab006 (diff)
downloadlinux-66a03c4fd9e95e192c574811a1f4ea8f62992358.tar.xz
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 'arch/riscv')
0 files changed, 0 insertions, 0 deletions