diff options
author | Ben Dooks <ben.dooks@sifive.com> | 2022-12-23 15:38:15 +0000 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2023-02-20 12:26:35 +0100 |
commit | cf70d01a62c712ee715df1f7892b58c77474bcfb (patch) | |
tree | 375c537a25b1c1b0b148d4976b7e09a6f1575ed8 /Kconfig | |
parent | a357d1493f0c66ce8006dd28c07646d1f891259a (diff) | |
download | lwn-cf70d01a62c712ee715df1f7892b58c77474bcfb.tar.gz lwn-cf70d01a62c712ee715df1f7892b58c77474bcfb.zip |
pwm: dwc: Use devm_pwmchip_add()
Add the PWM chip using devm_pwmchip_add() to avoid having to manually
remove it. This is useful for subsequent patches adding platform device
support.
Signed-off-by: Ben Dooks <ben.dooks@sifive.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions