commit | 6090885597e6500f6671a0f7bab9e82dfa6f38be | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Sun May 20 15:16:10 2012 +0200 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Sun May 20 17:27:14 2012 +0200 |
tree | 099288f8157c91e469766ce404ab0be3d7f2d8f7 | |
parent | 3770c75a6852a87afc66cd514c13899f8a288cef [diff] |
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 <akpm@linux-foundation.org> Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>