Searched hist:"27887 b06597bbfef8924985d1ed21db3ab01c417" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hwmon/ |
H A D | tmp513.c | diff 27887b06597bbfef8924985d1ed21db3ab01c417 Thu Sep 07 09:14:04 CEST 2023 Biju Das <biju.das.jz@bp.renesas.com> hwmon: tmp513: Simplify tmp51x_read_properties()
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@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230907071404.24334-3-biju.das.jz@bp.renesas.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|