On Mon, Jun 14, 2021 at 10:09:08AM -0700, Moritz Fischer wrote: > From: Russ Weight <russell.h.weight@xxxxxxxxx> > > The FPGA bridge class driver data structure is being treated as a managed > resource instead of using standard dev_release call-back to release the > class data structure. This change populates the class.dev_release function > and changes the fpga_bridge_free() function to call put_device(). It also > changes fpga_bridge_unregister() to call device_del() instead of > device_unregister(). Same "two step" problem here as the previous patch shows. And again, why are you having both a create/register process? Why not just do it all internally? thanks, greg k-h