diff options
author | Shixiong Ou <oushixiong@kylinos.cn> | 2025-02-19 11:44:27 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2025-03-27 00:39:20 +0300 |
commit | a979182a2453de8e20858c14b2766062c67ab3bd (patch) | |
tree | 136e1e4f4997f703fb674b23954419ef3f2c5364 /scripts/generate_rust_analyzer.py | |
parent | 5bbcc7645f4b244ffb5ac6563fbe9d3d42194447 (diff) | |
download | linux-a979182a2453de8e20858c14b2766062c67ab3bd.tar.xz |
fbdev: lcdcfb: Register sysfs groups through driver core
[WHY]
1. The driver forgot to call device_remove_file()
in sh_mobile_lcdc_overlay_fb_unregister(), and there was
no error handling when calling device_create_file() failed.
2. This should probably use device_add_group() instead of
individual files to simplify both creation and removal. [Arnd]
3. The driver core can register and cleanup sysfs groups already.
as commit 95cdd538e0e5 ("fbdev: efifb: Register sysfs groups
through driver core").
[HOW]
Register sysfs groups through driver core.
Signed-off-by: Shixiong Ou <oushixiong@kylinos.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions