Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10643
b: refs/heads/master
c: d8d2061
h: refs/heads/master
i:
  10641: 75ac7be
  10639: 9677ca1
v: v3
  • Loading branch information
Ben Dooks authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent a73c966 commit 6cd1868
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6536c49a1ee2bd85eee0e7fa41e67c5743f2f93e
refs/heads/master: d8d2061590c87c20bf78133461bc74df78803ecb
2 changes: 1 addition & 1 deletion trunk/drivers/hwmon/lm78.c
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ static int lm78_isa_attach_adapter(struct i2c_adapter *adapter)
}

/* This function is called by i2c_probe */
int lm78_detect(struct i2c_adapter *adapter, int address, int kind)
static int lm78_detect(struct i2c_adapter *adapter, int address, int kind)
{
int i, err;
struct i2c_client *new_client;
Expand Down
12 changes: 6 additions & 6 deletions trunk/drivers/hwmon/lm85.c
Original file line number Diff line number Diff line change
Expand Up @@ -1007,14 +1007,14 @@ temp_auto(1);
temp_auto(2);
temp_auto(3);

int lm85_attach_adapter(struct i2c_adapter *adapter)
static int lm85_attach_adapter(struct i2c_adapter *adapter)
{
if (!(adapter->class & I2C_CLASS_HWMON))
return 0;
return i2c_probe(adapter, &addr_data, lm85_detect);
}

int lm85_detect(struct i2c_adapter *adapter, int address,
static int lm85_detect(struct i2c_adapter *adapter, int address,
int kind)
{
int company, verstep ;
Expand Down Expand Up @@ -1235,7 +1235,7 @@ int lm85_detect(struct i2c_adapter *adapter, int address,
return err;
}

int lm85_detach_client(struct i2c_client *client)
static int lm85_detach_client(struct i2c_client *client)
{
struct lm85_data *data = i2c_get_clientdata(client);
hwmon_device_unregister(data->class_dev);
Expand All @@ -1245,7 +1245,7 @@ int lm85_detach_client(struct i2c_client *client)
}


int lm85_read_value(struct i2c_client *client, u8 reg)
static int lm85_read_value(struct i2c_client *client, u8 reg)
{
int res;

Expand Down Expand Up @@ -1275,7 +1275,7 @@ int lm85_read_value(struct i2c_client *client, u8 reg)
return res ;
}

int lm85_write_value(struct i2c_client *client, u8 reg, int value)
static int lm85_write_value(struct i2c_client *client, u8 reg, int value)
{
int res ;

Expand Down Expand Up @@ -1304,7 +1304,7 @@ int lm85_write_value(struct i2c_client *client, u8 reg, int value)
return res ;
}

void lm85_init_client(struct i2c_client *client)
static void lm85_init_client(struct i2c_client *client)
{
int value;
struct lm85_data *data = i2c_get_clientdata(client);
Expand Down

0 comments on commit 6cd1868

Please sign in to comment.