[RAMEN9610-10479][Robusta2][9610] 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>
Sat, 26 Jan 2019 06:33:16 +0000 (15:33 +0900)
commite5b2ff3dcc138792fdacb593d83f3cf066e2a349
tree9514af8c5efcd9386a5cb16729a93a20e668e15c
parent5fcd17b3750d4690acf9b8320d6fa5620443ed3e
[RAMEN9610-10479][Robusta2][9610] 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: Ie1e7aead3bdbc674066e53b7a389993607518267
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