hwmon: (asus-ec-sensors) merge setup functions
authorEugene Shalygin <eugene.shalygin@gmail.com>
Wed, 16 Feb 2022 19:19:58 +0000 (20:19 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 16 Feb 2022 19:42:44 +0000 (11:42 -0800)
commit572dfaf0bc2db25ab44ec9471a21bced91b2efae
treeae512e08cbd1d86c684831f74054dbff9215caf1
parent5e68869aba1abb563279c5afdbb1cb10d40c7c73
hwmon: (asus-ec-sensors) merge setup functions

Merge configure_sensor_setup() into probe().

Changes:
 - v2: add local struct device *dev = &pdev->dev;
 - v3: initialize dev at declaration
 - v4: fix checkpatch warning
 - v5: fix formatting
 - v6: code style fixes
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/asus-ec-sensors.c