diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-10 17:23:37 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-10-25 12:40:40 -0400 |
commit | 24f73c92a990ecd3d1bb846267780a264d830065 (patch) | |
tree | 83c496cc26eaa6e6b8b0ad0fc945d9e93f0af0de /drivers/char/drm/drm_bufs.c | |
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>
Diffstat (limited to 'drivers/char/drm/drm_bufs.c')
0 files changed, 0 insertions, 0 deletions