Re: [PATCH v2] fbdev: fsl-diu-fb: add missing device_remove_file()

2025-03-11 Thread Shixiong Ou
Yeah, you are right, but I believe it would be better to retain the checks. Anyway, I have submitted the V3 patch which has dropped the checks. Thanks and Regards, Shixiong Ou. 在 2025/3/10 03:42, Helge Deller 写道: On 3/9/25 09:16, Shixiong Ou wrote: From: Shixiong Ou Call device_remove_file(

Re: [PATCH v2] fbdev: fsl-diu-fb: add missing device_remove_file()

2025-03-09 Thread Helge Deller
On 3/9/25 09:16, Shixiong Ou wrote: From: Shixiong Ou Call device_remove_file() when driver remove. Signed-off-by: Shixiong Ou --- v1->v2: add has_sysfs_attrs flag. drivers/video/fbdev/fsl-diu-fb.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/video/fbdev/fsl-d

[PATCH v2] fbdev: fsl-diu-fb: add missing device_remove_file()

2025-03-09 Thread Shixiong Ou
From: Shixiong Ou Call device_remove_file() when driver remove. Signed-off-by: Shixiong Ou --- v1->v2: add has_sysfs_attrs flag. drivers/video/fbdev/fsl-diu-fb.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/video/fbdev/fsl-diu-fb.c b/drivers/video/fbdev/fsl-diu-fb