commit | f4f0f63e6f01055dfbdb7bc5e83935e1bdfa1980 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Feb 09 12:44:03 2016 -0700 |
committer | Jens Axboe <axboe@fb.com> | Tue Feb 09 12:44:03 2016 -0700 |
tree | 546fde189f2a37476988845d4d131d34753b070d | |
parent | 949928c1c731417cc0f070912c63878b62b544f4 [diff] |
nvme: fix drvdata setup for the nvme device Pass the right private data to device_create_with_groups from the beginning, and remove the superflous call to dev_set_drvdata. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jon Derrick <jonathan.derrick@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>