From: Johan Hovold Date: Sun, 20 May 2012 13:16:10 +0000 (+0200) Subject: mfd: Fix return type of lm533 attribute is_visible X-Git-Tag: v3.5-rc1~51^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6090885597e6500f6671a0f7bab9e82dfa6f38be;p=pandora-kernel.git mfd: Fix return type of lm533 attribute is_visible Since commit 587a1f1659 ("switch ->is_visible() to returning umode_t") the return type of is_visible is umode_t rather than mode_t. This silences a compiler warning on some architectures where these types are not compatible. Reported-by: Andrew Morton Signed-off-by: Johan Hovold Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed