Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 45ec7b6e authored by Stephen Boyd's avatar Stephen Boyd
Browse files

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: default avatarStephen Boyd <sboyd@codeaurora.org>
parent faa2f201
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment