projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c3624
)
fbdev: fsl-diu-fb: add missing device_remove_file()
author
Shixiong Ou
<oushixiong@kylinos.cn>
Mon, 10 Mar 2025 01:54:31 +0000
(09:54 +0800)
committer
Helge Deller
<deller@gmx.de>
Wed, 26 Mar 2025 21:39:21 +0000
(22:39 +0100)
Call device_remove_file() when driver remove.
Signed-off-by: Shixiong Ou <oushixiong@kylinos.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/fsl-diu-fb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/fbdev/fsl-diu-fb.c
b/drivers/video/fbdev/fsl-diu-fb.c
index 5ac8201c353378fbef760b513013c4b88e562a7b..b71d15794ce8b881c1734809e688ce43dba5aef6 100644
(file)
--- a/
drivers/video/fbdev/fsl-diu-fb.c
+++ b/
drivers/video/fbdev/fsl-diu-fb.c
@@
-1827,6
+1827,7
@@
static void fsl_diu_remove(struct platform_device *pdev)
int i;
data = dev_get_drvdata(&pdev->dev);
+ device_remove_file(&pdev->dev, &data->dev_attr);
disable_lcdc(&data->fsl_diu_info[0]);
free_irq(data->irq, data->diu_reg);