summaryrefslogtreecommitdiff
path: root/drivers/video/fbsysfs.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2006-10-03 12:14:49 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 19:04:10 +0400
commit928e964f262b522dad57483108f62d87c52ccf82 (patch)
tree45c32e384474f8f6d8c9f9f8f142a191ec5dbb7e /drivers/video/fbsysfs.c
parent212f26398f63bc905ea28f55b31d4ecd4a21a33b (diff)
downloadlinux-928e964f262b522dad57483108f62d87c52ccf82.tar.xz
[PATCH] vt: 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>
Diffstat (limited to 'drivers/video/fbsysfs.c')
0 files changed, 0 insertions, 0 deletions