commit | 388d5cf0369905c6abdc131b6fe3b8927beaccee | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Tue Jul 03 14:33:25 2012 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Thu Jul 05 16:35:20 2012 -0700 |
tree | 0eec592d8ed6ce01b8e14a5cbb41fd58fa52b4b5 | |
parent | d0b6022061b6f412c2eeb6624cfc36cf1eb17c0d [diff] |
pm8xxx-adc: Fix lockdep warnings with key's not in .data Devices attributes have lockdep keys and so they should exist in the data section. Failure to do this results in lockdep turning itself off and warnings such as: BUG: key eeb0883c not in .data! Fix this problem in the pm8xxx-adc driver by initializing the keys with sysfs_attr_init(). Change-Id: Ie42f9a28c343e32ef36ca3570d63a7bb557dfe64 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>