RE: [PATCH 30/32] drivers/nvdimm: Assign parent for event_source device
From: Dan Williams
Date: Wed Apr 05 2023 - 01:05:58 EST
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 platform device.
>
> Link: https://lore.kernel.org/linux-cxl/ZCLI9A40PJsyqAmq@xxxxxxxxx/
> Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
> Cc: nvdimm@xxxxxxxxxxxxxxx
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx>