]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
qd65xx: remove pointless qd_{read,write}_reg() (take 2)
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 19 Oct 2007 22:32:37 +0000 (00:32 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 19 Oct 2007 22:32:37 +0000 (00:32 +0200)
commitc196567a81af6988d1a71b43dd21c47e1ff46f6e
treeeac62de245dab758d11ac2347d8d7756b7618f3a
parenta02bfd3ce9342453441202028df44dc58f90e225
qd65xx: remove pointless qd_{read,write}_reg() (take 2)

These functions are atomic so locking is pointless (noticed by Sergei).

v2:
We can now just use local_irq_save/restore() in qd_testreg() (noticed by Jeff).

Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/legacy/qd65xx.c