diff options
author | Joaquín Ignacio Aramendía <samsagax@gmail.com> | 2023-07-17 19:25:16 -0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-08-21 06:04:29 -0700 |
commit | 49ffb5eefebccf498fb2a45b46ff58d0b255bf97 (patch) | |
tree | 0ede76cb334d535f36c4893e65e55e441da12f69 /drivers/thermal | |
parent | 3b7f4bde06daaff391a374fc27c8163b2847de34 (diff) |
hwmon: (oxp-sensors) Move board detection to the init function
Move detection logic to the start of init() function so we won't
instantiate the driver if the board is not compatible.
Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20230717222526.229984-3-samsagax@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions