diff options
| author | Zou Wei <[email protected]> | 2020-04-23 17:15:19 +0800 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2020-05-28 11:21:01 +0200 |
| commit | 43170255321f83d8e8a3964f70040c49b3d19df0 (patch) | |
| tree | c7a36d6cc45e909fca9c5fe6c74fdfdb6f3b65da /include/linux/timerqueue.h | |
| parent | ca2d13ec6ee9c3d7edc6563dc753f891521f791b (diff) | |
mmc: core: Use DEFINE_DEBUGFS_ATTRIBUTE instead of DEFINE_SIMPLE_ATTRIBUTE
Fixes coccicheck warning:
drivers/mmc/core/debugfs.c:222:0-23: WARNING: mmc_clock_fops should be
defined with DEFINE_DEBUGFS_ATTRIBUTE
Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE
for debugfs files
Fixes: 703aae3d09a4b ("mmc: add a file to debugfs for changing host clock at runtime")
Fixes: a04c50aaa916f ("mmc: core: no need to check return value of debugfs_create functions")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zou Wei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions