mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-08 13:39:32 +00:00
Add groups field to struct miscdevice for passing the attribute groups at device creation. In this way, the driver can avoid the manual call of device_create_file() after the device registration, which is basically a racy operation, in addition to the reduction of manual device_remove_file() calls. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2.1 KiB
2.1 KiB