gdrom,viocd: Convert to bdops->check_events()
authorTejun Heo <tj@kernel.org>
Wed, 9 Mar 2011 18:54:28 +0000 (19:54 +0100)
committerTejun Heo <tj@kernel.org>
Wed, 9 Mar 2011 18:54:28 +0000 (19:54 +0100)
commit1c27030bd21e7e2c68ef5be9f28c63778cf4b27f
tree16308baa3d530d52d517e77e4d9f797647deb2e6
parent1a8a74f03fcde1725ff26520220f3d21dbd8faa1
gdrom,viocd: Convert to bdops->check_events()

Convert gdrom and viocd from ->media_changed() to ->check_events().

It's unclear how the conditions are cleared and it's possible that it
may generate spurious events when polled.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Kay Sievers <kay.sievers@vrfy.org>
drivers/cdrom/gdrom.c
drivers/cdrom/viocd.c