Skip to content
Commit 3abd63c0 authored by Nick Ward's avatar Nick Ward Committed by Carles Cufí
Browse files

drivers: sensor: vcnl4040: use mutex for locking



Saves some flash and we get priority inheritance.

Also removes lock from vcnl4040_handle_int() as it
is always called from the same thread.

Signed-off-by: default avatarNick Ward <nick.ward@ftpsolutions.com.au>
parent db8ecd5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment