[RAMEN9610-10521] IB/hfi1: convert to debugfs_file_get() and -put()
authorNicolai Stange <nicstange@gmail.com>
Mon, 30 Oct 2017 23:15:51 +0000 (00:15 +0100)
committerhskang <hs1218.kang@samsung.com>
Tue, 8 Jan 2019 10:36:23 +0000 (19:36 +0900)
commit444c51cb8ab6d30a289dad51df66a8aa29da551e
tree54c3d1617b5e200880edfdcc94d9a2c7f3237903
parent4a37fc74a2aef6e9f07b51da59c578c029661808
[RAMEN9610-10521] IB/hfi1: convert to debugfs_file_get() and -put()

Convert all calls to the now obsolete debugfs_use_file_start() and
debugfs_use_file_finish() to the new debugfs_file_get() and
debugfs_file_put() API.

Change-Id: I1bc9155930247c8b1c7d694dc93787f11242f364
Fixes: 49d200deaa68 ("debugfs: prevent access to removed files' private data")
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/hfi1/debugfs.c