Re: [PATCH 02/32] perf/hisi-pcie: Assign parent for event_source device

From: Greg KH
Date: Tue Apr 04 2023 - 09:52:20 EST


On Tue, Apr 04, 2023 at 02:41:55PM +0100, Jonathan Cameron wrote:
> 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 PCI device.
>
> Link: https://lore.kernel.org/linux-cxl/ZCLI9A40PJsyqAmq@xxxxxxxxx/
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> ---
> drivers/perf/hisilicon/hisi_pcie_pmu.c | 1 +
> 1 file changed, 1 insertion(+)

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>