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

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

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