summaryrefslogtreecommitdiffstats
path: root/drivers/powercap
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-12-20 14:50:00 +0100
committerChristoph Hellwig <hch@lst.de>2018-01-17 17:55:14 +0100
commit88de4598bca84e27b261685c06fff816b8d932a1 (patch)
treea761a959de7770174509f830b97700bcca01e36e /drivers/powercap
parentf65efd6dfe4e687637704f7023157fdee99913ca (diff)
downloadlinux-88de4598bca84e27b261685c06fff816b8d932a1.tar.bz2
nvme-pci: clean up SMBSZ bit definitions
Define the bit positions instead of macros using the magic values, and move the expanded helpers to calculate the size and size unit into the implementation C file. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions