Re: [PATCH v2 3/9] mailbox: imx: use devm_of_platform_populate()
From: Peng Fan
Date: Mon Jun 08 2026 - 01:03:45 EST
On Wed, Jun 03, 2026 at 03:05:06PM +0200, Sebastian Andrzej Siewior wrote:
>The driver uses of_platform_populate() but does not remove the added
>devices on removal. This can lead to "double devices" on module removal
>followed by adding the module again.
>
>Use devm_of_platform_populate() to remove the populated devices once the
>parent device is removed.
>
>Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Reviewed-by: Peng Fan <peng.fan@xxxxxxx>