NVMe: Export NVMe attributes to sysfs group
authorKeith Busch <keith.busch@intel.com>
Tue, 12 Jan 2016 22:09:31 +0000 (15:09 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 12 Jan 2016 22:11:54 +0000 (15:11 -0700)
commit779ff75617099f4defe14e20443b95019a4c5ae8
treefad22919b8e27d1ec32bfda8c303efa3146b0644
parenta5cdb68c2c10f0865122656833cd07636a4143ee
NVMe: Export NVMe attributes to sysfs group

Adds all controller information to attribute list exposed to sysfs, and
appends the reset_controller attribute to it. The nvme device is created
with this attribute list, so driver no long manages its attributes.

Reported-by: Sujith Pandel <sujithpshankar@gmail.com>
Cc: Sujith Pandel <sujithpshankar@ gmail.com>
Cc: David Milburn <dmilburn@redhat.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c