Searched hist:"49 ffb5eefebccf498fb2a45b46ff58d0b255bf97" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | oxp-sensors.c | diff 49ffb5eefebccf498fb2a45b46ff58d0b255bf97 Mon Jul 17 17:25:16 CDT 2023 Joaquín Ignacio Aramendía <samsagax@gmail.com> 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>
|