Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6
[firefly-linux-kernel-4.4.55.git] / drivers / hwmon / max8688.c
index 8ebfef2ecf2665b4c6c257347a016ac58bfff904..7fb93f4e9f21f971043ae18129158ffc598057f9 100644 (file)
@@ -37,7 +37,7 @@
 #define MAX8688_STATUS_OT_FAULT                (1 << 13)
 #define MAX8688_STATUS_OT_WARNING      (1 << 14)
 
-static int max8688_get_status(struct i2c_client *client, int page, int reg)
+static int max8688_read_byte_data(struct i2c_client *client, int page, int reg)
 {
        int ret = 0;
        int mfg_status;
@@ -110,7 +110,7 @@ static struct pmbus_driver_info max8688_info = {
        .func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT | PMBUS_HAVE_TEMP
                | PMBUS_HAVE_STATUS_VOUT | PMBUS_HAVE_STATUS_IOUT
                | PMBUS_HAVE_STATUS_TEMP,
-       .get_status = max8688_get_status,
+       .read_byte_data = max8688_read_byte_data,
 };
 
 static int max8688_probe(struct i2c_client *client,