[PATCH 0/4] media: Drop empty platform remove functions

Sean Young sean at mess.org
Fri Jan 13 00:02:11 PST 2023


On Thu, Jan 12, 2023 at 10:59:55PM +0100, Uwe Kleine-König wrote:
> Hello,
> 
> On Tue, Dec 13, 2022 at 04:35:49PM +0100, Uwe Kleine-König wrote:
> > this series removes all platform remove functions that only return zero
> > below drivers/media. There is no reason to have these, as the only
> > caller is platform core code doing:
> > 
> >         if (drv->remove) {
> >                 int ret = drv->remove(dev);
> > 
> >                 if (ret)
> >                         dev_warn(...)
> >         }
> > 
> > (in platform_remove()) and so having no remove function is both
> > equivalent and simpler.
> 
> I didn't get any feedback in reply to this series yet. Gentle ping!

I've sent the the ir-rx51.c patch to Mauro on the 30th of december to
pull. He will probably merge it at some point but who knows when.


Sean



More information about the linux-arm-kernel mailing list