[PATCH] Fix class_register() always returns 0
I noticed that the class_register() function in drivers/base/class.c always returns 0 and thus will never fail. Patch below inserts simple error checking to return any errors if they occur. Feedback welcome. Thanks,
Showing
Please register or sign in to comment