]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
aec62xx: remove init_dma() method (take 2)
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 9 Jul 2007 21:17:56 +0000 (23:17 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 9 Jul 2007 21:17:56 +0000 (23:17 +0200)
commit1b9da32a2855afa3c5f27690e03a33dc97410c42
treed09e32add5b9f5159ce62a4ceef6b9c47fd085bf
parentb1d19db4e770a752ec032971388fa69a73c84919
aec62xx: remove init_dma() method (take 2)

Get rid of the init_dma() method (which had no particular reason to exist) by
folding it into the init_hwif() method. While at it, also perform some cleanup
in the latter method:

- get rid of the useless clearing of hwif->autodma;

- fold the serialization code into one 'if' statement;

- fold setting the drives' 'autotune' and 'autodma' fields into the single
  statements...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/aec62xx.c