asus-wmi: ->is_visible() can't return negative
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 24 Jul 2011 00:59:40 +0000 (20:59 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 24 Jul 2011 14:12:19 +0000 (10:12 -0400)
commite772aed369779c98f44e83ccd7fb1b713953cd09
treeb95e12adefedbaa2df6cb2d41e820f9a6161b033
parent963945bf93e46b9bf71a07bf9c78183e0f57733a
asus-wmi: ->is_visible() can't return negative

It's mode_t; return 0 (no access) on error.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/platform/x86/asus-wmi.c