vfs301: Use vfs301_proto_deinit()
Even though it does nothing, make sure to use it so it's useful once it does something.
This commit is contained in:
parent
489afea605
commit
528f3556ea
1 changed files with 4 additions and 0 deletions
|
@ -216,6 +216,10 @@ static int dev_activate(struct fp_img_dev *dev, enum fp_imgdev_state state)
|
||||||
/* Deactivate device */
|
/* Deactivate device */
|
||||||
static void dev_deactivate(struct fp_img_dev *dev)
|
static void dev_deactivate(struct fp_img_dev *dev)
|
||||||
{
|
{
|
||||||
|
vfs301_dev_t *vdev;
|
||||||
|
|
||||||
|
vdev = fpi_imgdev_get_user_data(dev);
|
||||||
|
vfs301_proto_deinit(fpi_imgdev_get_usb_dev(dev), vdev);
|
||||||
fpi_imgdev_deactivate_complete(dev);
|
fpi_imgdev_deactivate_complete(dev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue