BigW Consortium Gitlab

Commit 985219bd by David Clark

Fixed free IRQ bug when driver is removed

parent 1de6b7ca
......@@ -1649,7 +1649,7 @@ static int bmi088_remove(struct i2c_client *client)
}
}
free_irq(data->irq, data);
devm_free_irq(&client->dev, data->irq, data->trig);
gpio_free(data->gpio_pin);
iio_device_unregister(indio_dev);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment