Message ID | 20230321154039.355098-1-u.kleine-koenig@pengutronix.de (mailing list archive) |
---|---|
Headers | show |
Series | rpmsg: Convert to platform remove callback returning void | expand |
On Tue, 21 Mar 2023 16:40:36 +0100, Uwe Kleine-König wrote: > this series adapts the platform drivers below drivers/rpmsg to use the > .remove_new() callback. Compared to the traditional .remove() callback > .remove_new() returns no value. This is a good thing because the driver core > doesn't (and cannot) cope for errors during remove. The only effect of a > non-zero return value in .remove() is that the driver core emits a warning. The > device is removed anyhow and an early return from .remove() usually yields a > resource leak. > > [...] Applied, thanks! [1/3] rpmsg: qcom_smd: Make qcom_smd_unregister_edge() return void commit: 810c03d9d7c978b4ee5287d8987043a9be1d614e [2/3] rpmsg: qcom_glink_rpm: Convert to platform remove callback returning void commit: 49446e573bf591eef71c1e8c7cf87ec19aa2569f [3/3] rpmsg: qcom_smd: Convert to platform remove callback returning void commit: 38be89514b88f53ff772d1e016a68b59814aef72 Best regards,