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:
Nick Ward <nick.ward@ftpsolutions.com.au>
Loading
Please sign in to comment