linux/drivers/staging/most
Nikita Yushchenko 2ab1891640 staging: most: dim2: do not double-register the same device
Commit 723de0f917 ("staging: most: remove device from interface
structure") moved registration of driver-provided struct device to
the most subsystem.

Dim2 used to register the same struct device to provide a custom device
attribute. This causes double-registration of the same struct device.

Fix that by moving the custom attribute to driver's dev_groups.
This moves attribute to the platform_device object, which is a better
location for platform-specific attributes anyway.

Fixes: 723de0f917 ("staging: most: remove device from interface structure")
Acked-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Link: https://lore.kernel.org/r/20211011061117.21435-1-nikita.yoush@cogentembedded.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-13 14:27:54 +02:00
..
dim2 staging: most: dim2: do not double-register the same device 2021-10-13 14:27:54 +02:00
Documentation staging: most: Documentation: move ABI description files out of staging area 2020-03-24 13:42:44 +01:00
i2c staging: most: i2c: Fix a little doc-rot 2021-05-10 11:19:25 +02:00
net staging: most: net: Fix some kernel-doc formatting issues 2021-05-10 11:19:25 +02:00
video staging/most: Remove all strcpy() uses in favor of strscpy() 2021-07-27 15:10:41 +02:00
Kconfig drivers: most: add ALSA sound driver 2021-03-23 10:03:13 +01:00
Makefile drivers: most: add ALSA sound driver 2021-03-23 10:03:13 +01:00
TODO