diff options
author | Biju Das <[email protected]> | 2023-09-07 08:14:04 +0100 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-10-27 07:27:23 -0700 |
commit | 27887b06597bbfef8924985d1ed21db3ab01c417 (patch) | |
tree | 949584f71973d90260e9b5f560063fd0f9c00315 /lib/debugobjects.c | |
parent | fb99e07a9e396402f643a138c2aef4699671b44a (diff) |
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 <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions