Re: [PATCH] memory: tegra210-emc: replace DEFINE_SIMPLE_ATTRIBUTE with

From: Thierry Reding
Date: Thu Oct 07 2021 - 13:54:21 EST


On Tue, Oct 05, 2021 at 12:35:14PM +0800, Kai Song wrote:
> fix debugfs_simple_attr.cocci warning:
> drivers/memory/tegra/tegra210-emc-core.c:1665:0-23: WARNING:tegra210_emc_debug_min_rate_fops
> should be defined with DEFINE_DEBUGFS_ATTRIBUTE
>
> Fixes: 6fc5f1adf5a1 ("memory: tegra210-emc: replace DEFINE_SIMPLE_ATTRIBUTE
> with DEFINE_DEBUGFS_ATTRIBUTE"):It reports the same warning, but didn't
> fix all matches in this file at once.
>
> Signed-off-by: Kai Song <songkai01@xxxxxxxxxx>
> ---
> drivers/memory/tegra/tegra210-emc-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature