commit | 24f73c92a990ecd3d1bb846267780a264d830065 | [log] [tgz] |
---|---|---|
author | Jeff Garzik <jeff@garzik.org> | Tue Oct 10 14:23:37 2006 -0700 |
committer | Dave Airlie <airlied@linux.ie> | Wed Oct 25 09:40:40 2006 -0700 |
tree | 83c496cc26eaa6e6b8b0ad0fc945d9e93f0af0de | |
parent | 0d960d26c42888cf327df7faa1a8aa62bab53fa4 [diff] |
drm: fix error returns, sysfs error handling - callers of drm_sysfs_create() and drm_sysfs_device_add() looked for errors using IS_ERR(), but the functions themselves only ever returned NULL on error. Fixed. - unwind from, and propagate sysfs errors Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dave Airlie <airlied@linux.ie>