diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2006-09-22 11:37:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-10-18 12:49:55 -0700 |
commit | a306eea40952e6365301e8a2f7d5ffa9c6a1921b (patch) | |
tree | 5a5b74ef17286728d9b3d5a1eee4e21c73b6e9e6 /drivers/base/dmapool.c | |
parent | 513e7337adc32cdfbffecb99953e45a44e812c2d (diff) | |
download | lwn-a306eea40952e6365301e8a2f7d5ffa9c6a1921b.tar.gz lwn-a306eea40952e6365301e8a2f7d5ffa9c6a1921b.zip |
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>
Diffstat (limited to 'drivers/base/dmapool.c')
0 files changed, 0 insertions, 0 deletions