From: Ben Dooks Date: Fri, 23 May 2008 20:04:56 +0000 (-0700) Subject: S3C2410: add error print if we cannot add attribute X-Git-Tag: v2.6.26-rc4~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d585dfe840c93ea800afc124333b6ac04722d359;p=pandora-kernel.git S3C2410: add error print if we cannot add attribute Fix the following warning by checking the result of device_create_file and printing an error but not removing the device (loss of debug registers is not fatal). drivers/video/s3c2410fb.c:905: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result Signed-off-by: Ben Dooks Cc: Arnaud Patard Acked-by: Krzysztof Helt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed