diff options
author | 2021-05-25 08:35:28 +0200 | |
---|---|---|
committer | 2021-06-28 13:24:45 +0200 | |
commit | f7edeb4023efcd6494176095560ddd34f3bab006 (patch) | |
tree | a0c1c0c57c6a0b7004c352bf9b5c9c58aab730dd /drivers/pwm/pwm-crc.c | |
parent | pwm: imx1: Don't disable clocks at device remove time (diff) | |
download | wireguard-linux-f7edeb4023efcd6494176095560ddd34f3bab006.tar.xz wireguard-linux-f7edeb4023efcd6494176095560ddd34f3bab006.zip |
pwm: imx1: 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>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions