Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59bff5ba authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

ide: cleanup ide_find_port()



Remove no longer needed matching against I/O base and 'base' argument.

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent bad7c825
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ static int __init bastide_register(unsigned int base, unsigned int aux, int irq)
	hw.io_ports[IDE_CONTROL_OFFSET] = aux + (6 * 0x20);
	hw.irq = irq;

	hwif = ide_find_port(hw.io_ports[IDE_DATA_OFFSET]);
	hwif = ide_find_port();
	if (hwif == NULL)
		goto out;

+1 −1
Original line number Diff line number Diff line
@@ -400,7 +400,7 @@ icside_setup(void __iomem *base, struct cardinfo *info, struct expansion_card *e
	unsigned long port = (unsigned long)base + info->dataoffset;
	ide_hwif_t *hwif;

	hwif = ide_find_port(port);
	hwif = ide_find_port();
	if (hwif) {
		int i;

+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ static int __init ide_arm_init(void)
	ide_std_init_ports(&hw, IDE_ARM_IO, IDE_ARM_IO + 0x206);
	hw.irq = IDE_ARM_IRQ;

	hwif = ide_find_port(hw.io_ports[IDE_DATA_OFFSET]);
	hwif = ide_find_port();
	if (hwif) {
		ide_init_port_hw(hwif, &hw);
		idx[0] = hwif->index;
+1 −1
Original line number Diff line number Diff line
@@ -378,7 +378,7 @@ static int __devinit palm_bk3710_probe(struct platform_device *pdev)
	hw.irq = irq->start;
	hw.chipset = ide_palm3710;

	hwif = ide_find_port(hw.io_ports[IDE_DATA_OFFSET]);
	hwif = ide_find_port();
	if (hwif == NULL)
		goto out;

+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ rapide_probe(struct expansion_card *ec, const struct ecard_id *id)
		goto release;
	}

	hwif = ide_find_port((unsigned long)base);
	hwif = ide_find_port();
	if (hwif) {
		memset(&hw, 0, sizeof(hw));
		rapide_setup_ports(&hw, base, base + 0x818, 1 << 6, ec->irq);
Loading