[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250929104622.GA15568@nxa18884-linux.ap.freescale.net>
Date: Mon, 29 Sep 2025 18:46:22 +0800
From: Peng Fan <peng.fan@....nxp.com>
To: Harini T <harini.t@....com>
Cc: jassisinghbrar@...il.com, michal.simek@....com, peng.fan@....com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
git@....com
Subject: Re: [PATCH V2 1/4] mailbox: zynqmp-ipi: Remove redundant
mbox_controller_unregister() call
On Mon, Sep 29, 2025 at 01:07:20PM +0530, Harini T wrote:
>The controller is registered using the device-managed function
>'devm_mbox_controller_register()'. As documented in mailbox.c, this
>ensures the devres framework automatically calls
>mbox_controller_unregister() when device_unregister() is invoked, making
>the explicit call unnecessary.
>
>Remove redundant mbox_controller_unregister() call as
>device_unregister() handles controller cleanup.
>
>Fixes: 4981b82ba2ff ("mailbox: ZynqMP IPI mailbox controller")
>Signed-off-by: Harini T <harini.t@....com>
Reviewed-by: Peng Fan <peng.fan@....com>
Powered by blists - more mailing lists