]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (lm75) separate probe into common and I2C parts
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 19 Dec 2024 22:55:26 +0000 (23:55 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 20 Dec 2024 14:58:10 +0000 (06:58 -0800)
commitbc96dc1a1cdad999ccd84a7ea6d5e0926c26d8ce
tree8837e4c895bc98e84c797bdff1e5d5ec5d667995
parent7a5c24da4b3c96949a6d93c3c7fa4133c6f2b88e
hwmon: (lm75) separate probe into common and I2C parts

Put generic probe functionality into a separate function and let the I2C
driver call it. This is a preparation for adding I3C support which will
also use the generic probe function.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20241219225522.3490-11-wsa+renesas@sang-engineering.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm75.c