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

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Thu Jan 12 13:59:55 PST 2023


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!

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230112/b2501edd/attachment.sig>


More information about the linux-arm-kernel mailing list