PCI: Constify bin_attribute structures
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 2 Aug 2017 15:27:27 +0000 (20:57 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 10 Aug 2017 20:21:42 +0000 (15:21 -0500)
commit8bdc50ac56ab97e7585ee928a1017284afeee17a
tree71f0d08f72670853f81f2588537752abaf2a2d41
parent8394264da2bc04a75d7d02071ae2ba6adbd46361
PCI: Constify bin_attribute structures

Add const to bin_attribute structures as they are only passed to the
functions sysfs_{remove/create}_bin_file. The corresponding arguments are
of type const, so declare the structures to be const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-sysfs.c