diff options
| author | Leann Ogasawara <ogasawara@osdl.org> | 2004-03-10 18:57:27 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2004-03-10 18:57:27 -0800 |
| commit | bd37147c84ffa45219f05685b00df2ed4f3f088b (patch) | |
| tree | e3e1572f7cee5af01969b51942e0c7b92c8ec7f8 /include/linux/kobject.h | |
| parent | 4740d0851cf6e6713b19b92c307e4e7d66a0ab30 (diff) | |
[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,
Diffstat (limited to 'include/linux/kobject.h')
0 files changed, 0 insertions, 0 deletions
