summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-stm32-qspi.c
diff options
context:
space:
mode:
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>2021-10-11 09:11:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-18 16:04:18 +0300
commit0bb8359f9c0d985ca0929dedd3b0cae979b8b9c5 (patch)
treea6addac9628b9d6e17a041842d05d1bb6f248be7 /drivers/spi/spi-stm32-qspi.c
parent8e1feecc04fc2f8ab2e8d817dc8ad60fb2924a1d (diff)
downloadlinux-0bb8359f9c0d985ca0929dedd3b0cae979b8b9c5.tar.xz
staging: most: dim2: do not double-register the same device
[ Upstream commit 2ab189164056b05474275bb40caa038a37713061 ] Commit 723de0f9171e ("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: 723de0f9171e ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/spi/spi-stm32-qspi.c')
0 files changed, 0 insertions, 0 deletions