block: move PM request support to IDE
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Apr 2015 20:37:20 +0000 (22:37 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 5 May 2015 19:40:42 +0000 (13:40 -0600)
commita7928c1578c550bd6f4dec62d65132e6db226c57
tree1a9a13abf0679e7dc4e1e5124cd4fcb3c0ac1265
parentac7cdff00a33d48d27217560fa3b16d802e5f535
block: move PM request support to IDE

This removes the request types and hacks from the block code and into the
old IDE driver.  There is a small amunt of code duplication due to this,
but it's not too bad.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
block/blk-exec.c
block/blk.h
drivers/ide/ide-eh.c
drivers/ide/ide-io.c
drivers/ide/ide-pm.c
drivers/ide/ide-taskfile.c
include/linux/blkdev.h
include/linux/ide.h