diff options
author | Bartlomiej Zolnierkiewicz | 2008-04-27 15:38:31 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz | 2008-04-27 15:38:31 +0200 |
commit | 387750c3bf49c22f6189436032145e2131985076 (patch) | |
tree | 823d10a2e5008048990d66643819a36d5fc70b3f /sound/ac97_bus.c | |
parent | ide: sanitize ide_unregister() usage (diff) | |
download | kernel-qcow2-linux-387750c3bf49c22f6189436032145e2131985076.tar.gz kernel-qcow2-linux-387750c3bf49c22f6189436032145e2131985076.tar.xz kernel-qcow2-linux-387750c3bf49c22f6189436032145e2131985076.zip |
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 <bzolnier@gmail.com>
Diffstat (limited to 'sound/ac97_bus.c')
0 files changed, 0 insertions, 0 deletions