Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 632f2b0d authored by Ian Molton's avatar Ian Molton Committed by Mauro Carvalho Chehab
Browse files

[media] adv7180: Remove duplicate unregister call



This driver moved over to v4l2_async_unregister_subdev()
but still retained a call to v4l2_unregister_subdev(). Remove.

Signed-off-by: default avatarIan Molton <ian.molton@codethink.co.uk>
Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent f8600689
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -663,7 +663,6 @@ static int adv7180_remove(struct i2c_client *client)
	if (state->irq > 0)
		free_irq(client->irq, state);

	v4l2_device_unregister_subdev(sd);
	adv7180_exit_controls(state);
	mutex_destroy(&state->mutex);
	return 0;