Re: [PATCH v2 3/3] platform/x86: intel_speed_select_if: Remove hardcoded map size

From: Andy Shevchenko
Date: Tue Sep 26 2023 - 15:19:28 EST


On Tue, Sep 26, 2023 at 10:53:49AM -0700, Srinivas Pandruvada wrote:
> The driver is using 256 as the size while calling devm_ioremap(). The
> maximum offset can be obtained from isst_mmio_range. Add a field "size"
> to the isst_mmio_range and use it instead of hardcoding.
>
> No functional impact is expected.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

--
With Best Regards,
Andy Shevchenko