video, udlfb: Fix two build warnings about 'ignoring return value'
authorLiu Yuan <tailai.ly@taobao.com>
Mon, 18 Apr 2011 10:44:38 +0000 (10:44 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 24 May 2011 07:07:50 +0000 (16:07 +0900)
commit94cd1ae2fd251fd8206c043ce91a99a45439a116
tree1267c47adb8cfb53f7070c266c78b77d423a9f15
parent6dbdf2a1cee23c34a66a35cfa2ae48e62e268dcb
video, udlfb: Fix two build warnings about 'ignoring return value'

build warning:

...
drivers/video/udlfb.c:1590: warning: ignoring return value of ‘device_create_file’, declared with attribute warn_unused_result
drivers/video/udlfb.c:1592: warning: ignoring return value of ‘device_create_bin_file’, declared with attribute warn_unused_result
...

So add two checks to get rid of 'em.

Signed-off-by: Liu Yuan <tailai.ly@taobao.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/udlfb.c