]> git.baikalelectronics.ru Git - kernel.git/commit
ide-disk: use ata_id_wcache_enabled()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:20 +0000 (22:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:20 +0000 (22:39 +0200)
commit0f9daca4cdccd26a27ecce0e6c66e1aa4ab2db74
tree4ea8f1f24249060c550b07811787393356dfcdfe
parent8fcc896d49f6896773f71faa04aa701106980cf9
ide-disk: use ata_id_wcache_enabled()

Replace open-coded check by ata_id_wcache_enabled()
(which also checks validity of word 85).

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