opnsense-src/sys/compat/linuxkpi/common
Emmanuel Vadot d0d0d14abc linuxkpi: Rework detach function
We need to detach the matching i2c adapter so look for the right one.
While here add some locks to protect multiple add/del at the same time.

Fixes:	1961a14a47 ("linuxkpi: Add i2c support")
Sponsored by:	Beckhoff Automation GmbH & Co. KG

(cherry picked from commit 25d21a8452)
2022-06-21 17:13:57 +02:00
..
include linuxkpi: Add i2c support 2022-06-21 17:13:57 +02:00
src linuxkpi: Rework detach function 2022-06-21 17:13:57 +02:00