]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[media] rcar-vin: remove subdevice matching from bind and unbind callbacks
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 24 May 2017 00:15:37 +0000 (21:15 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 19:44:00 +0000 (16:44 -0300)
commitf8a668f72e79a2ee7c1aef7d36d3b59f9d4cf9a5
tree01b0e3c6328245964b9650563e16f8c2de71f8da
parentbd8448f732f15b4b160fa8fe200305240c704deb
[media] rcar-vin: remove subdevice matching from bind and unbind callbacks

There is only one subdevice registered with the async framework so there
is no need for the driver to check which subdevice is bound or unbound.
Remove these checks since the async framework preforms this.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
[hans.verkuil@cisco.com: fix typo: surce -> source]
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/rcar-vin/rcar-core.c