Skip to content
Commit 58608cfe authored by Iker Perez del Palomar Sustatxa's avatar Iker Perez del Palomar Sustatxa Committed by Guenter Roeck
Browse files

hwmon: (lm75) Create function from code to write into registers



Wrap the existing code to write configurations into registers in
a function.

Added error handling to the function.

Signed-off-by: default avatarIker Perez del Palomar Sustatxa <iker.perez@codethink.co.uk>
Link: https://lore.kernel.org/r/20190808080246.8371-3-iker.perez@codethink.co.uk


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent dcb12653
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment