hwmon: (max31827) Handle new properties from the devicetree
authorDaniel Matyas <daniel.matyas@analog.com>
Tue, 31 Oct 2023 18:21:53 +0000 (20:21 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 11 Dec 2023 14:42:36 +0000 (06:42 -0800)
commit88548710d2aed71677f7594a78219bf081d4297f
tree9e1ff7995185129e284ca92a79d5e16e38e1a96c
parentb449879243dbd141b5a50ecb4a312ab87d313390
hwmon: (max31827) Handle new properties from the devicetree

Used fwnode to retrieve data from the devicetree in the init_client
function.

If the uint32 properties are not present, the default values are used
for max31827 chip.

Signed-off-by: Daniel Matyas <daniel.matyas@analog.com>
Link: https://lore.kernel.org/r/20231031182158.124608-1-daniel.matyas@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/max31827.rst
drivers/hwmon/max31827.c