commit | d733796613128a31f6e74b372d6909251ee0f902 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Tue Oct 30 11:10:46 2012 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Tue Oct 30 11:11:50 2012 -0700 |
tree | 866c1928c6e70a5bc49fcec466e7d5c65a8a14cf | |
parent | 1252d4bd3a438f16a43417302c4c353820a8abaf [diff] |
hwmon: qpnp-adc: 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: I9ff7f750a29b637348aa4fbd1a17bc5c2cfb1302 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>