]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Mon, 28 Feb 2022 01:03:18 +0000 (17:03 -0800)
commitbe3264b05d2fbc1dd156ff1038c42e8cc63ab7b5
treea87bb11dbad5b16ddb9109320735accb0ee53a0c
parent56b0d07be44a3a510a51afaf4012c0329c105202
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