ide: factor out reset error reporting from reset_pollfunc()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:41 +0000 (21:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:41 +0000 (21:39 +0200)
commit0e3d84a500d4e1672332b4961b98c35f6168e6f1
tree4beca6d0585900fcd43fb12c7852290c7477346b
parent6982daf71ca9a0b0c36043315e1968b3cb709b7c
ide: factor out reset error reporting from reset_pollfunc()

Factor out reset error reporting from reset_pollfunc()
to ide_reset_report_error() helper.

While at it:
- fix KERN_* printk() levels
- remove 'switch ()'

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-iops.c