hwmon: (lm90) Rework detect function
authorGuenter Roeck <linux@roeck-us.net>
Wed, 10 Nov 2021 04:38:22 +0000 (20:38 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:17 +0000 (08:38 -0700)
commitc7cebce984a24cb2f6d5acfd404bd4629a2ca5fa
treecf08e9d8cd367176a4257755261900746eaf1a03
parentb977ed27c4dbbb65eb6c00a3bd89e5907d4c2042
hwmon: (lm90) Rework detect function

The detect function is getting larger and larger and difficult to
understand or review. Split it into per-manufacturer detect functions
to improve readability.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm90.c