forked from kofal.net/zmk
refactor(app): replace void with const struct device *dev in ISR CBs
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html PR: #467
This commit is contained in:
@@ -66,8 +66,7 @@ static void ec11_b_gpio_callback(const struct device *dev, struct gpio_callback
|
||||
#endif
|
||||
}
|
||||
|
||||
static void ec11_thread_cb(void *arg) {
|
||||
const struct device *dev = arg;
|
||||
static void ec11_thread_cb(const struct device *dev) {
|
||||
struct ec11_data *drv_data = dev->data;
|
||||
|
||||
drv_data->handler(dev, drv_data->trigger);
|
||||
|
||||
Reference in New Issue
Block a user