diff options
| author | Uwe Kleine-König <[email protected]> | 2023-07-17 14:27:43 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2023-07-19 11:32:37 +0000 |
| commit | 1945063eb59e64d2919cb14d54d081476d9e53bb (patch) | |
| tree | e31d8a3fb8fd263f4f3ffb8601cde8038893216a /drivers/usb/cdns3/cdns3-trace.h | |
| parent | gpio: tps68470: Make tps68470_gpio_output() always set the initial value (diff) | |
| download | kernel-1945063eb59e64d2919cb14d54d081476d9e53bb.tar.gz kernel-1945063eb59e64d2919cb14d54d081476d9e53bb.zip | |
gpio: mvebu: Make use of devm_pwmchip_add
This allows to get rid of a call to pwmchip_remove() in the error path. There
is no .remove function for this driver, so this change fixes a resource leak
when a gpio-mvebu device is unbound.
Fixes: 757642f9a584 ("gpio: mvebu: Add limited PWM support")
Signed-off-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions
