diff options
author | Ben Dooks <ben-fbdev@fluff.org> | 2008-05-23 22:04:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-24 18:56:12 +0200 |
commit | d585dfe840c93ea800afc124333b6ac04722d359 (patch) | |
tree | 9e3824920e47db054f13dea3a13a029d4be926e5 /drivers/video/s3c2410fb.h | |
parent | S3C2410: ensure that FB_BLANK_POWERDOWN shuts down the controller (diff) | |
download | linux-d585dfe840c93ea800afc124333b6ac04722d359.tar.xz linux-d585dfe840c93ea800afc124333b6ac04722d359.zip |
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 <ben-linux@fluff.org>
Cc: Arnaud Patard <arnaud.patard@rtp-net.org>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/s3c2410fb.h')
0 files changed, 0 insertions, 0 deletions