]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fbcon: Honor the return value of device_create_file
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 3 Oct 2006 08:14:50 +0000 (01:14 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:10 +0000 (08:04 -0700)
commitde4b14a9e2a2219fe5e543e9053971e7797d4ab2
tree77065559c6448f9c271899da008aa55428459480
parent414d0b7e1167c3d429b0e43d60b1c51ad7f804cb
[PATCH] fbcon: 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>
drivers/video/console/fbcon.c