summaryrefslogtreecommitdiff
path: root/drivers/hwmon/sch5627.c
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2023-09-07 10:14:04 +0300
committerGuenter Roeck <linux@roeck-us.net>2023-10-27 17:27:23 +0300
commit27887b06597bbfef8924985d1ed21db3ab01c417 (patch)
tree949584f71973d90260e9b5f560063fd0f9c00315 /drivers/hwmon/sch5627.c
parentfb99e07a9e396402f643a138c2aef4699671b44a (diff)
downloadlinux-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