]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85dbdca0e26b751c924a893b510b8ead883f4f8c
treeb30dd85e6c539e1ee604d98dcb78343410c5206e
parent70db05c35534f098143e6472e527584c07d5ec93
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