commit | b1824eef28dcb384d5f771b79ec9a65474e20218 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@wdc.com> | Thu Aug 17 13:13:12 2017 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Aug 18 08:45:29 2017 -0600 |
tree | 32181672a9dc9bbee856b91b8ca6290afc61cb25 | |
parent | 0b2e0c0772fa39fbd8dc4b959a5f3ede48ec643c [diff] |
skd: Simplify the code for handling data direction Use DMA_FROM_DEVICE and DMA_TO_DEVICE directly instead of introducing driver-private constants with the same numerical value. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Cc: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>