Commit 25fcc319 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Greg Kroah-Hartman

[PATCH] I2C: Fix up some build warnings in the fscpos driver.

Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 8929157c
......@@ -51,8 +51,6 @@ SENSORS_INSMOD_1(fscpos);
* The FSCPOS registers
*/
#define DEBUG
/* chip identification */
#define FSCPOS_REG_IDENT_0 0x00
#define FSCPOS_REG_IDENT_1 0x01
......@@ -566,10 +564,10 @@ static struct fscpos_data *fscpos_update_device(struct device *dev)
if ((jiffies - data->last_updated > 2 * HZ) ||
(jiffies < data->last_updated) || !data->valid) {
int i;
dev_dbg(&client->dev, "Starting fscpos update\n");
int i;
for (i = 0; i < 3; i++) {
data->temp_act[i] = fscpos_read_value(client,
FSCPOS_REG_TEMP_ACT[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment