]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit0a727dea774c47ad1e18907be33f12c9f325ee4a
tree77065559c6448f9c271899da008aa55428459480
parent1a6600be3e5dafe2ddcc5d969d931c2591eed896
[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