On Mon, Oct 21, 2024 at 12:48:55PM +0200, 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/char/hw_random 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. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxx> > --- > Hello, > > given the simplicity of the individual changes I do this all in a single > patch. I you don't agree, please tell and I will happily split it. > > It's based on today's next, feel free to drop changes that result in a > conflict when you come around to apply this. I'll care for the fallout > at a later time then. (Having said that, if you use b4 am -3 and git am > -3, there should be hardly any conflict.) > > Note I didn't Cc: all the individual driver maintainers to not trigger > sending limits and spam filters. > > Best regards > Uwe > > drivers/char/hw_random/atmel-rng.c | 2 +- > drivers/char/hw_random/cctrng.c | 2 +- > drivers/char/hw_random/exynos-trng.c | 2 +- > drivers/char/hw_random/ingenic-rng.c | 2 +- > drivers/char/hw_random/ks-sa-rng.c | 2 +- > drivers/char/hw_random/mxc-rnga.c | 2 +- > drivers/char/hw_random/n2-drv.c | 2 +- > drivers/char/hw_random/npcm-rng.c | 2 +- > drivers/char/hw_random/omap-rng.c | 2 +- > drivers/char/hw_random/stm32-rng.c | 2 +- > drivers/char/hw_random/timeriomem-rng.c | 2 +- > drivers/char/hw_random/xgene-rng.c | 2 +- > 12 files changed, 12 insertions(+), 12 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt