Re: [PATCH 00/19] mailbox: Device-managed registration

From: Thierry Reding
Date: Wed Nov 28 2018 - 04:39:57 EST


On Wed, Nov 21, 2018 at 03:54:10PM +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@xxxxxxxxxx>
>
> Hi,
>
> This series of patches adds device-managed registration functions for
> mailbox controllers. A number of drivers can be simplified by making use
> of this new API both in the error cleanup paths in their probe functions
> and in the driver remove implementation.
>
> In addition to adding the new API this series converts all drivers to
> use it. There is also an additional cleanup patch for the mtk-cmdq
> driver that removes some calls to devm_kfree() that are not needed.
>
> Thierry
>
> Thierry Reding (19):
> mailbox: Add device-managed registration functions
> mailbox: arm-mhu: Use device-managed registration API
> mailbox: bcm2835: Use device-managed registration API
> mailbox: bcm-flexrm: Use device-managed registration API
> mailbox: bcm-pdc: Use device-managed registration API
> mailbox: hi3660: Use device-managed registration API
> mailbox: hi6220: Use device-managed registration API
> mailbox: imx: Use device-managed registration API
> mailbox: altera: Use device-managed registration API
> mailbox: sti: Use device-managed registration API
> mailbox: xgene-slimpro: Use device-managed registration API
> mailbox: mtk-cmdq: Use device-managed registration API
> mailbox: mtk-cmdq: Remove needless devm_kfree() calls
> mailbox: omap: Use device-managed registration API
> mailbox: platform-mhu: Use device-managed registration API
> mailbox: qcom-apcs: Use device-managed registration API
> mailbox: rockchip: Use device-managed registration API
> mailbox: stm32-ipcc: Use device-managed registration API
> mailbox: ti-msgmgr: Use device-managed registration API
>
> drivers/mailbox/arm_mhu.c | 12 +----
> drivers/mailbox/bcm-flexrm-mailbox.c | 4 +-
> drivers/mailbox/bcm-pdc-mailbox.c | 4 +-
> drivers/mailbox/bcm2835-mailbox.c | 10 +---
> drivers/mailbox/hi3660-mailbox.c | 11 +---
> drivers/mailbox/hi6220-mailbox.c | 11 +---
> drivers/mailbox/imx-mailbox.c | 3 +-
> drivers/mailbox/mailbox-altera.c | 15 +-----
> drivers/mailbox/mailbox-sti.c | 13 +----
> drivers/mailbox/mailbox-xgene-slimpro.c | 11 +---
> drivers/mailbox/mailbox.c | 70 +++++++++++++++++++++++++
> drivers/mailbox/mtk-cmdq-mailbox.c | 11 +---
> drivers/mailbox/omap-mailbox.c | 4 +-
> drivers/mailbox/platform_mhu.c | 12 +----
> drivers/mailbox/qcom-apcs-ipc-mailbox.c | 3 +-
> drivers/mailbox/rockchip-mailbox.c | 15 +-----
> drivers/mailbox/stm32-ipcc.c | 4 +-
> drivers/mailbox/ti-msgmgr.c | 13 +----
> include/linux/mailbox_controller.h | 5 ++
> 19 files changed, 92 insertions(+), 139 deletions(-)

Hi Jassi,

any comments on this?

Thierry

Attachment: signature.asc
Description: PGP signature