diff options
| author | Shixiong Ou <oushixiong@kylinos.cn> | 2025-03-10 09:54:31 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-04 14:40:03 +0200 |
| commit | af6e4ccb08823293c51523c9c6b201a48e0a5753 (patch) | |
| tree | c7a66611cb98e7f4afe4a47b6483f672fb6b11ee /drivers/video | |
| parent | d8aea4921f3fb6baca1c29b55f938f5e2d11e6e7 (diff) | |
| download | linux-af6e4ccb08823293c51523c9c6b201a48e0a5753.tar.gz linux-af6e4ccb08823293c51523c9c6b201a48e0a5753.tar.bz2 linux-af6e4ccb08823293c51523c9c6b201a48e0a5753.zip | |
fbdev: fsl-diu-fb: add missing device_remove_file()
[ Upstream commit 86d16cd12efa547ed43d16ba7a782c1251c80ea8 ]
Call device_remove_file() when driver remove.
Signed-off-by: Shixiong Ou <oushixiong@kylinos.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/video')
| -rw-r--r-- | drivers/video/fbdev/fsl-diu-fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/fsl-diu-fb.c b/drivers/video/fbdev/fsl-diu-fb.c index ce3c5b0b8f4e..53be4ab374cc 100644 --- a/drivers/video/fbdev/fsl-diu-fb.c +++ b/drivers/video/fbdev/fsl-diu-fb.c @@ -1829,6 +1829,7 @@ static int 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); |
