arcmsr: add const to bin_attribute structures
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 1 Aug 2017 14:21:14 +0000 (19:51 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Aug 2017 23:40:50 +0000 (19:40 -0400)
commit5f3342d757d10edc21b148e9e0c01035317572ff
tree8b86e4a8a45c1fb53843417240c7fb9489f34111
parentf32c9e03d4a8dfe4880c830a353de7cfb49a3755
arcmsr: add const to bin_attribute structures

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

Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/arcmsr/arcmsr_attr.c