commit | 1a6600be3e5dafe2ddcc5d969d931c2591eed896 | [log] [tgz] |
---|---|---|
author | Antonino A. Daplas <adaplas@gmail.com> | Tue Oct 03 01:14:50 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Tue Oct 03 08:04:10 2006 -0700 |
tree | 453d3d63fce8f1092f21546a4c00d350cfe04fdd | |
parent | 928e964f262b522dad57483108f62d87c52ccf82 [diff] |
[PATCH] fbdev: Honor the return value of device_create_file Check the return value of device_create_file(). If return is 'fail', remove attributes by calling device_remove_file(). Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>