Re: [PATCH v6 2/2] hwmon: tmp513: Simplify tmp51x_read_properties()

From: Guenter Roeck
Date: Sun Sep 10 2023 - 20:47:10 EST


On Thu, Sep 07, 2023 at 08:14:04AM +0100, Biju Das wrote:
> Simplify tmp51x_read_properties() by replacing 'nfactor' ->'data->nfactor'
> in device_property_read_u32_array() and drop the local variable as it is
> unused.
>
> Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Applied.

Thanks,
Guenter