ARM: imx: Assign parents for mmdc event_source devices
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 12 Apr 2024 16:10:52 +0000 (17:10 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 22 Apr 2024 05:41:58 +0000 (13:41 +0800)
commit6eaa8431b340577ddfba86cf92f4b52e52370db4
tree9111ad64d3a1db12c20512c16b59b2251e8698f4
parent4cece764965020c22cff7665b18a012006359095
ARM: imx: Assign parents for mmdc event_source devices

Currently the PMU device appears directly under /sys/devices/
Only root busses should appear there, so instead assign the pmu->dev
parent to be the platform device.

Link: https://lore.kernel.org/linux-cxl/ZCLI9A40PJsyqAmq@kroah.com/
Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/mmdc.c