]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit8a089c6679a9f1c0a00b7e08554e90b507ec527a
tree4ea8f1f24249060c550b07811787393356dfcdfe
parentdd8f46f64ae66659df3358fad73ed7699aa729dd
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