commit | a306eea40952e6365301e8a2f7d5ffa9c6a1921b | [log] [tgz] |
---|---|---|
author | Cornelia Huck <cornelia.huck@de.ibm.com> | Fri Sep 22 11:37:13 2006 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Oct 18 12:49:55 2006 -0700 |
tree | 5a5b74ef17286728d9b3d5a1eee4e21c73b6e9e6 | |
parent | 513e7337adc32cdfbffecb99953e45a44e812c2d [diff] |
driver core fixes: device_add() cleanup on error Check for return code of device_create_file() and correct cleanup in the error case in device_add(). Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>