ide-{floppy,tape}: move checking of ->failed_pc to ->callback
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:22:01 +0000 (21:22 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:22:01 +0000 (21:22 +0200)
commitdd2e9a032bc552f6e2ae852e81cde602c09d7d3e
tree4252e71a2a3c1bbe0c5fd2eae404b09f1d99208e
parent6bf1641ca1c7554f0da54aaf89788731b541bacc
ide-{floppy,tape}: move checking of ->failed_pc to ->callback

Move checking/resetting of ->failed_pc from ide*_pc_intr() to ->callback
as a preparation for adding generic ide_pc_intr() helper.

There should be no functional changes caused by this patch.

Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>---
drivers/ide/ide-floppy.c
drivers/ide/ide-tape.c