ide-disk: add ide_do_setfeature() helper
commitbe3c096ebdbe3c828aacb5473751a22840753eff
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:36 +0000 (13 21:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:36 +0000 (13 21:39 +0200)
tree941bca77404c00cd02211b4ba53ff532ae24a73c
parent35c137531245118962eb40a550661afe317bec03
ide-disk: add ide_do_setfeature() helper

Add ide_do_setfeature() helper and convert set_{wcache,acoustic}()
to use it.

There should be no functional changes caused by this patch.

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