Re: [PATCH] soc: Switch back to struct platform_driver::remove()

From
Gabriel L. Somlo <hidden>
Date
2024-10-29 15:34:11
Also in
linux-arm-msm, linux-mediatek, linux-pm, linux-riscv, linux-rockchip, linux-samsung-soc, linux-tegra, lkml, loongarch
Reply to
Uwe Kleine-König, 2024-10-29
On Tue, Oct 29, 2024 at 08:48:58AM +0100, Uwe Kleine-König wrote:
After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
return void") .remove() is (again) the right callback to implement for
platform drivers.

Convert all platform drivers below drivers/soc to use .remove(), with
the eventual goal to drop struct platform_driver::remove_new(). As
.remove() and .remove_new() have the same prototypes, conversion is done
by just changing the structure member name in the driver initializer.

On the way do a few whitespace changes to make indention consistent.

Signed-off-by: Uwe Kleine-König <redacted>
---
for LiteX,

Acked-by: Gabriel Somlo <redacted>

Thanks,
--Gabriel
Thread (7 messages) 7 messages, 7 authors, last reply 2024-12-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help