From: Bartlomiej Zolnierkiewicz Date: Sun, 27 Apr 2008 13:38:31 +0000 (+0200) Subject: ide: make ide_unregister() take 'ide_hwif_t *' as an argument (take 2) X-Git-Tag: v2.6.26-rc1~1029^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=387750c3bf49c22f6189436032145e2131985076;p=pandora-kernel.git ide: make ide_unregister() take 'ide_hwif_t *' as an argument (take 2) * Make ide_unregister() take 'ide_hwif_t *hwif' instead of 'unsigned int index' (hwif->index) as an argument and update all users accordingly. While at it: * Remove unnecessary checks for hwif != NULL from ide-pnp.c::idepnp_remove() and delkin_cb.c::delkin_cb_remove(). * Remove needless hwif->chipset assignment from scc_pata.c::scc_remove(). v2: * Fixup ide_unregister() documentation. Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed