]> err.no Git - linux-2.6/commit
ide: add hwif_register_devices() helper
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 19 Oct 2007 22:32:29 +0000 (00:32 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 19 Oct 2007 22:32:29 +0000 (00:32 +0200)
commit9601a607cceb3632cde6c66fe28a3673dcd20be5
tree5767a9aa08df66f3873808cf82c4cbf558cbab0c
parentb515da89c6f4d3c3c2a19358ce0304046c043ea1
ide: add hwif_register_devices() helper

Add hwif_register_devices() helper to fix code duplication between
probe_hwif_init_with_fixup() and ideprobe_init().  Also remove stale
comment while at it.

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