commit | 8f46baaa7ec6cd0851794020b31958e64679dd26 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Wed Feb 20 10:31:42 2013 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 15 09:39:15 2013 -0700 |
tree | d075f91c3a8ef47237df697664efb22b7e676a14 | |
parent | be871b7e54711479d3b9d3617d49898770830db2 [diff] |
base: core: WARN() about bogus permissions on device attributes Whenever a struct device_attribute is registered with mismatched permissions - read permission without a show routine or write permission without store routine - we will issue a big warning so we catch those early enough. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>