aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
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-10-13 14:27:54 +0200
commit2ab189164056b05474275bb40caa038a37713061 (patch)
tree150bdb6d19f26da4d396cefb3ff0d1596d854a92 /tools/perf/scripts/python/flamegraph.py
parentstaging: r8188eu: odm SupportPlatform is always ODM_CE (diff)
downloadlinux-2ab189164056b05474275bb40caa038a37713061.tar.gz
linux-2ab189164056b05474275bb40caa038a37713061.zip
staging: most: dim2: do not double-register the same device
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>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions