From: Bartlomiej Zolnierkiewicz Date: Tue, 6 Jan 2009 16:20:49 +0000 (+0100) Subject: ide: remove hwgroup->hwif and {drive,hwif}->next X-Git-Tag: v2.6.29-rc1~231^2~36 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efe0397eef544ac4bcca23d39aa8d5db154952e0;p=pandora-kernel.git ide: remove hwgroup->hwif and {drive,hwif}->next * Add 'int port_count' field to ide_hwgroup_t to keep the track of the number of ports in the hwgroup. Then update init_irq() and ide_remove_port_from_hwgroup() to use it. * Remove no longer needed hwgroup->hwif, {drive,hwif}->next, ide_add_drive_to_hwgroup() and ide_remove_drive_from_hwgroup() (hwgroup->drive now only denotes the currently active device in the hwgroup). * Update locking documentation in . While at it: * Rename ->drive field in ide_hwgroup_t to ->cur_dev. * Use __func__ in ide_timer_expiry(). Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed