power: smb349: add spin_lock initializer
Using an unitiliazed spinlock can cause a kernel BUG
in the SMB349 driver.
Fix this by initializing the spinlock in the probe
function.
Change-Id: I9ce691398939f7104b71b58505e2d15dc910328c
Signed-off-by:
David Keitel <dkeitel@codeaurora.org>
Loading
Please sign in to comment