mfd: Fix return type of lm533 attribute is_visible
authorJohan Hovold <jhovold@gmail.com>
Sun, 20 May 2012 13:16:10 +0000 (15:16 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 20 May 2012 15:27:14 +0000 (17:27 +0200)
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 <akpm@linux-foundation.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found