diff options
author | Deepak R Varma <mh12gx2825@gmail.com> | 2020-10-30 00:32:41 +0530 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-10-15 13:26:34 -0700 |
commit | 2c477ff336cb74988fc0f9c97b042b5341e45429 (patch) | |
tree | 926b1e7dc7d9863e713f88e98cff008f5c34b132 /drivers/gpu/drm/msm/adreno/a6xx_gmu.c | |
parent | f8f57a38a60bf3fbc5e1e6a5785fc3026f0db72b (diff) |
drm: msm: adreno: use DEFINE_DEBUGFS_ATTRIBUTE with debugfs_create_file_unsafe()
Using DEFINE_DEBUGFS_ATTRIBUTE macro with debugfs_create_file_unsafe()
function in place of the debugfs_create_file() function will make the
file operation struct "reset" aware of the file's lifetime. Additional
details here: https://lists.archive.carbon60.com/linux/kernel/2369498
Issue reported by Coccinelle script:
scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci
Signed-off-by: Deepak R Varma <mh12gx2825@gmail.com>
Link: https://lore.kernel.org/r/9ca2c2e4cbd9ebb282b90f742305fd9b481aacc2.1603998014.git.mh12gx2825@gmail.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/a6xx_gmu.c')
0 files changed, 0 insertions, 0 deletions