diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-12-29 02:43:48 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-02-25 08:40:58 +0100 |
commit | f6a3d9d9dc1c86b75d858ebf011c7fff4b10a9bd (patch) | |
tree | af127a2b4a6691cbf0c28c64f33ea338fc20ffb9 /drivers/mmc/host/sdhci-pci.h | |
parent | mmc: dt-bindings: omap: Remove duplicate documentation paragraphs (diff) | |
download | linux-f6a3d9d9dc1c86b75d858ebf011c7fff4b10a9bd.tar.xz linux-f6a3d9d9dc1c86b75d858ebf011c7fff4b10a9bd.zip |
mmc: block: fix debugfs_simple_attr.cocci warnings
Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE
for debugfs files.
Semantic patch information:
Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file()
imposes some significant overhead as compared to
DEFINE_DEBUGFS_ATTRIBUTE + debugfs_create_file_unsafe().
Generated by: scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci.h')
0 files changed, 0 insertions, 0 deletions