diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-09-07 10:14:04 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-10-27 17:27:23 +0300 |
commit | 27887b06597bbfef8924985d1ed21db3ab01c417 (patch) | |
tree | 949584f71973d90260e9b5f560063fd0f9c00315 /drivers/hwmon/sch5627.c | |
parent | fb99e07a9e396402f643a138c2aef4699671b44a (diff) | |
download | linux-27887b06597bbfef8924985d1ed21db3ab01c417.tar.xz |
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>
Diffstat (limited to 'drivers/hwmon/sch5627.c')
0 files changed, 0 insertions, 0 deletions