ide-pm: don't abuse rq->data
authorTejun Heo <tj@kernel.org>
Sat, 18 Apr 2009 22:00:43 +0000 (07:00 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 28 Apr 2009 05:37:30 +0000 (07:37 +0200)
commit765139ef5f1a4b1d5cb1f1a7a12de7ee61f6500f
treecced409300ad193c7a3d9203441834c629cfcb7e
parent02e7cf8f848841ca21864ccd019e480b73c323b7
ide-pm: don't abuse rq->data

Impact: cleanup rq->data usage

ide-pm uses rq->data to carry pointer to struct request_pm_state
through request queue and rq->special is used to carray pointer to
local struct ide_cmd, which isn't necessary.  Use rq->special for
request_pm_state instead and use local ide_cmd in
ide_start_power_step().

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
drivers/ide/ide-io.c
drivers/ide/ide-pm.c