nvme-pci: cmb sysfs: one file, one value
authorKeith Busch <kbusch@kernel.org>
Fri, 16 Jul 2021 07:22:49 +0000 (09:22 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 16 Aug 2021 12:42:23 +0000 (14:42 +0200)
commit1751e97aa940656b5de0e620f02cf193a275e014
treebe1ef3fe2b7b3eeb84944e72b370857fb3ddab34
parent0521905e859fd1a07949cb18efb20cdd4aab3b20
nvme-pci: cmb sysfs: one file, one value

An attribute should only be exporting one value as recommended in
Documentation/filesystems/sysfs.rst. Implement CMB attributes this way.
The old attribute will remain for backward compatibility.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c