pm8001: Update nvmd response data to request buffer
authorSuresh Thiagarajan <Suresh.Thiagarajan@pmcs.com>
Mon, 11 Aug 2014 06:20:35 +0000 (11:50 +0530)
committerChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:09:48 +0000 (09:09 -0700)
commit9e0328453ea1a0e800b10daafffbadeac68273fd
tree873de1c598759cab522965f35670ced2af77f3e3
parenta07b67194307cc344953ce23c28d840609acac1f
pm8001: Update nvmd response data to request buffer

Instead of using the virt_ptr use request buffer for copying
back the nvmd response data and use the same in request function also

Signed-off-by: Suresh Thiagarajan <suresh.thiagarajan@pmcs.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/pm8001/pm8001_ctl.c
drivers/scsi/pm8001/pm8001_hwi.c