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

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

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: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 7761ef1f
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