Message ID | 20230517230239.187727-1-u.kleine-koenig@pengutronix.de (mailing list archive) |
---|---|
Headers | show |
Series | usb: Convert to platform remove callback returning void | expand |
On Thu, May 18, 2023 at 01:01:02AM +0200, Uwe Kleine-König wrote: > Hello, > > this series convers the drivers below drivers/usb to the .remove_new() > callback of struct platform_driver(). The motivation is to make the > remove callback less prone for errors and wrong assumptions. See commit > 5c5a7680e67b ("platform: Provide a remove callback that returns no > value") for a more detailed rationale. > > All drivers converted here already returned zero unconditionally in their > .remove() callback, so converting them to .remove_new() is trivial. All but 2 patches applied, as one was for a driver that wasn't in the tree anymore, and the dwc2 patch didn't apply at all. thanks, greg k-h
On Sun, May 28, 2023 at 12:37:17PM +0100, Greg Kroah-Hartman wrote: > On Thu, May 18, 2023 at 01:01:02AM +0200, Uwe Kleine-König wrote: > > Hello, > > > > this series convers the drivers below drivers/usb to the .remove_new() > > callback of struct platform_driver(). The motivation is to make the > > remove callback less prone for errors and wrong assumptions. See commit > > 5c5a7680e67b ("platform: Provide a remove callback that returns no > > value") for a more detailed rationale. > > > > All drivers converted here already returned zero unconditionally in their > > .remove() callback, so converting them to .remove_new() is trivial. > > All but 2 patches applied, as one was for a driver that wasn't in the > tree anymore, and the dwc2 patch didn't apply at all. Oops, the xhci patches broke the build so I dropped them too. Please regenerate the series against the next linux-next that has these in them and resend the remaining bits. thanks, greg k-h