|
@@ -663,7 +663,6 @@ static int adv7180_remove(struct i2c_client *client)
|
|
if (state->irq > 0)
|
|
if (state->irq > 0)
|
|
free_irq(client->irq, state);
|
|
free_irq(client->irq, state);
|
|
|
|
|
|
- v4l2_device_unregister_subdev(sd);
|
|
|
|
adv7180_exit_controls(state);
|
|
adv7180_exit_controls(state);
|
|
mutex_destroy(&state->mutex);
|
|
mutex_destroy(&state->mutex);
|
|
return 0;
|
|
return 0;
|