nbd: make device_attribute const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 21 Aug 2017 11:43:08 +0000 (17:13 +0530)
committerJens Axboe <axboe@kernel.dk>
Mon, 28 Aug 2017 21:21:27 +0000 (15:21 -0600)
commitdfbde55249032db6e93ab76a91c3b2e46308f52e
treea4ac524eff01e10c8ec12bc56cb876973b194ca9
parentb3c3051220f3e2a576ba8008c4a87b7d4c8a35e8
nbd: make device_attribute const

Make this const as is is 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: Jens Axboe <axboe@kernel.dk>
drivers/block/nbd.c