]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/i2c/chips/max6875.c
[PATCH] hwmon: hwmon vs i2c, second round (06/11)
[mirror_ubuntu-zesty-kernel.git] / drivers / i2c / chips / max6875.c
index 42663f921ecc4c467184dede65b7d71ac64fb22a..31cee2d34a17ede7ce86ac96eb5ee0dd845c4594 100644 (file)
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/i2c.h>
-#include <linux/i2c-sensor.h>
 #include <asm/semaphore.h>
 
 /* Do not scan - the MAX6875 access method will write to some EEPROM chips */
 static unsigned short normal_i2c[] = {I2C_CLIENT_END};
 
 /* Insmod parameters */
-SENSORS_INSMOD_1(max6875);
+I2C_CLIENT_INSMOD_1(max6875);
 
 /* The MAX6875 can only read/write 16 bytes at a time */
 #define SLICE_SIZE                     16