qlogic: make device_attribute const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 21 Aug 2017 11:43:10 +0000 (17:13 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Aug 2017 17:24:22 +0000 (10:24 -0700)
commitda6817ebc353c54c5e74676418bfa77d13e64159
treeb30dd85e6c539e1ee604d98dcb78343410c5206e
parenta43dce93587bfb5f65fa40647977ef72a7ba6699
qlogic: make device_attribute const

Make these const as they are only passed as an argument to the
function device_create_file and device_remove_file and the corresponding
arguments are of type const.
Done using Coccinelle

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c