> Once device_add() failed, we should call put_device() to decrement > reference count for cleanup. Or it could cause memory leak. Is there a need to integrate the added function call better into a goto chain? Regards, Markus
> Once device_add() failed, we should call put_device() to decrement > reference count for cleanup. Or it could cause memory leak. Is there a need to integrate the added function call better into a goto chain? Regards, Markus