Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350563
b: refs/heads/master
c: ce603b1
h: refs/heads/master
i:
  350561: 0c21c6d
  350559: 205d45b
v: v3
  • Loading branch information
Guenter Roeck committed Feb 6, 2013
1 parent 7b4d392 commit 62759d9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aebcbbfc4955929286a15a04592a2281d3e527db
refs/heads/master: ce603b18f30aea1216a00673a33805d4f5a5e16b
1 change: 1 addition & 0 deletions trunk/drivers/hwmon/pmbus/pmbus.h
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ struct pmbus_driver_info {

/* Function declarations */

void pmbus_clear_cache(struct i2c_client *client);
int pmbus_set_page(struct i2c_client *client, u8 page);
int pmbus_read_word_data(struct i2c_client *client, u8 page, u8 reg);
int pmbus_write_word_data(struct i2c_client *client, u8 page, u8 reg, u16 word);
Expand Down
8 changes: 8 additions & 0 deletions trunk/drivers/hwmon/pmbus/pmbus_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ struct pmbus_data {
u8 currpage;
};

void pmbus_clear_cache(struct i2c_client *client)
{
struct pmbus_data *data = i2c_get_clientdata(client);

data->valid = false;
}
EXPORT_SYMBOL_GPL(pmbus_clear_cache);

int pmbus_set_page(struct i2c_client *client, u8 page)
{
struct pmbus_data *data = i2c_get_clientdata(client);
Expand Down

0 comments on commit 62759d9

Please sign in to comment.