]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
it821x: convert to use ->host_priv
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 24 Jul 2008 20:53:16 +0000 (22:53 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 24 Jul 2008 20:53:16 +0000 (22:53 +0200)
commit1d76d9dc448d5a6fc7b49ba06c634aa6927bcc3d
tree0b04ce3643888a6fc86b889f33bec8455286b7af
parent74811f355f4f69a187fa74892dcf2a684b84ce99
it821x: convert to use ->host_priv

While at it:

* Allocate both struct it821x_dev instances at once.

* Don't leak itdevs on ide_pci_init_one() failure.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/it821x.c