nvme: fix drvdata setup for the nvme device
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Feb 2016 19:44:03 +0000 (12:44 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 9 Feb 2016 19:44:03 +0000 (12:44 -0700)
commitf4f0f63e6f01055dfbdb7bc5e83935e1bdfa1980
tree546fde189f2a37476988845d4d131d34753b070d
parent949928c1c731417cc0f070912c63878b62b544f4
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>
drivers/nvme/host/core.c
This page took 0.025161 seconds and 5 git commands to generate.