Re: [PATCH V2 10/11] hwmon: (coretemp) Remove redundant temp_data->is_pkg_data

From: Guenter Roeck
Date: Sun Feb 04 2024 - 09:50:23 EST


On Fri, Feb 02, 2024 at 05:21:43PM +0800, Zhang Rui wrote:
> temp_data->index saves the index in pdata->core_data[]. It is not used
> by package temp_data.
>
> Use temp_data->index as the indicator of package temp_data and remove
> redundant temp_data->is_pkg_data.
>
> No functional change.
>
> Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx>

Applied.

Thanks,
Guenter