Re: [PATCH v2 09/16] x86/amd_nb, hwmon: (k10temp): Simplify amd_pci_dev_to_node_id()

Guenter Roeck
2024-12-06T16:38:18Z

On 12/6/24 08:12, Yazen Ghannam wrote:
> From: Mario Limonciello <mario.limonciello@amd.com>
>
> amd_pci_dev_to_node_id() tries to find the AMD node ID of a device by
> searching and counting devices.
>
> The AMD node ID of an AMD node device is simply its slot number minus
> the AMD node 0 slot number.
>
> Simplify this function and move it to k10temp.c.
>
> [Yazen: Update commit message and simplify function]
>
> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
> Co-developed-by: Yazen Ghannam <yazen.ghannam@amd.com>
> Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>

I assume this patch will be applied together with the series.
With that in mind:

Acked-by: Guenter Roeck <linux@roeck-us.net>

Thanks,
Guenter