Herton Ronaldo Krzesinski 8d3ab4ebfd floppy: use common function to check if floppies can be registered
The same checks to see if a drive can be or is registered are
repeated through the code, factor out the checks in a common function
and replace the repeated checks with it.

Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2012-10-30 08:34:25 +01:00
..
2012-09-09 10:35:38 +02:00
2012-01-03 22:54:07 -05:00
2012-01-14 15:07:24 -08:00
2011-08-08 11:40:15 +02:00
2012-03-28 18:30:03 +01:00
2012-10-06 03:05:24 +09:00
2012-10-01 12:05:36 -07:00
2012-09-09 10:35:39 +02:00
2012-10-01 17:20:00 -05:00
2011-12-12 12:42:12 +01:00
2011-12-10 19:52:46 +01:00
2012-03-28 18:30:03 +01:00
2012-01-05 08:34:29 +01:00