ide-pm: don't abuse rq->data
commitfc38b521dcffcb07447cd98fedc56f495c10b90d
authorTejun Heo <tj@kernel.org>
Sat, 18 Apr 2009 22:00:43 +0000 (19 07:00 +0900)
committerTejun Heo <tj@kernel.org>
Sat, 18 Apr 2009 22:00:43 +0000 (19 07:00 +0900)
treecc0fdc986970179c95612f8d3dc9c06c78fa6d53
parent5c4be57249e2e09136446597d2fe2a967c6ffef0
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