Bug fixes/cleanups for floppy driver (v2)

From: Herton Ronaldo Krzesinski
Date: Mon Aug 13 2012 - 14:16:28 EST


Following this are fixes for bugs I noticed on floppy driver, and some
extra cleanups.

v2: separate fixes, and incorporate suggestions by Vivek Goyal.
also I splitted the cleanups from fixes.
v3: remove dr, also this possibly makes error handling more readable
(suggested by by Vivek Goyal), incorporate acks.

--
[]'s
Herton
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/