aboutsummaryrefslogtreecommitdiff
path: root/drivers/dio
diff options
context:
space:
mode:
authorBorislav Petkov <bbpetkov@yahoo.de>2008-02-02 19:56:35 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 19:56:35 +0100
commit20bf7bdad443d473826832674230834654b31d0b (patch)
tree6bab53dad5839b04628c99a8486761d5dcb906f2 /drivers/dio
parent194ec0c07895d8f8bf3ca8e50d5225f7968ad2d0 (diff)
ide-floppy: factor out ioctl handlers from idefloppy_ioctl()
By passing idefloppy_floppy_t *floppy to the factored out functions, we get rid of (almost) all local vars so stack usage should be at minimum here. Also, we merge idefloppy_begin_format() into idefloppy_format_start() since it is its only user. Also, rename idefloppy_format_start() to idefloppy_format_unit(). Finally, rename the reworked functions to ide_floppy..(). Bart - minor CodingStyle fixup Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions