commit | 8a5c4e4e6c7290f5e6ed2276287ac2c67d45ffbe | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Tue Oct 30 11:07:22 2012 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Tue Oct 30 11:13:45 2012 -0700 |
tree | 7338b4ff9bca1746ba38958890ba8b34c579abe9 | |
parent | 1252d4bd3a438f16a43417302c4c353820a8abaf [diff] |
hwmon: qpnp-adc-current: Fix key not in data bug The sysfs attribute is initialized properly, but the initialization is overwritten by the memcpy directly following that line. Do the initialization after the memcpy to avoid the BUG: key eeb16158 not in .data! warnings from lockdep. Change-Id: Idb69bf631a684c689be5230200b5ab1341b4ec36 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>