Skip to contentSkip to conversation

smsc47m1: Convert to a platform driver

PATCH New Jean Delvare 1 participant 1 message Mar 15, 2007 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 smsc47m1: Convert to a platform driver

Convert the smsc47m1 driver from the nonsensical i2c-isa hack to a regular platform driver.

Can anyone with supported hardware try this patch and report please?

Signed-off-by Jean Delvare <khali at linux-fr.org>
---
 drivers/hwmon/Kconfig    |    3 -
 drivers/hwmon/smsc47m1.c |  327 +++++++++++++++++++++++++++-------------------
 2 files changed, 194 insertions(+), 136 deletions(-)
drivers/hwmon/Kconfig +1 -2
@@ -416,8 +416,7 @@ config SENSORS_SIS5595
 
 config SENSORS_SMSC47M1
 	tristate "SMSC LPC47M10x and compatibles"
-	depends on HWMON && I2C
-	select I2C_ISA
+	depends on HWMON
 	help
 	  If you say yes here you get support for the integrated fan
 	  monitoring and control capabilities of the SMSC LPC47B27x,
drivers/hwmon/smsc47m1.c +193 -134

600 lines not on this page · raw message

Signature · 1 line
Jean Delvare