Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151274
b: refs/heads/master
c: 1902a9e
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jun 16, 2009
1 parent aa6cc8c commit 0c708c4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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: 79510cdbc76265426c6d75326436624393694ea7
refs/heads/master: 1902a9e62ba34a1071407ab61cef626e019a0923
4 changes: 2 additions & 2 deletions trunk/drivers/mfd/htc-pasic3.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ struct pasic3_data {
*/
void pasic3_write_register(struct device *dev, u32 reg, u8 val)
{
struct pasic3_data *asic = dev->driver_data;
struct pasic3_data *asic = dev_get_drvdata(dev);
int bus_shift = asic->bus_shift;
void __iomem *addr = asic->mapping + (REG_ADDR << bus_shift);
void __iomem *data = asic->mapping + (REG_DATA << bus_shift);
Expand All @@ -50,7 +50,7 @@ EXPORT_SYMBOL(pasic3_write_register); /* for leds-pasic3 */
*/
u8 pasic3_read_register(struct device *dev, u32 reg)
{
struct pasic3_data *asic = dev->driver_data;
struct pasic3_data *asic = dev_get_drvdata(dev);
int bus_shift = asic->bus_shift;
void __iomem *addr = asic->mapping + (REG_ADDR << bus_shift);
void __iomem *data = asic->mapping + (REG_DATA << bus_shift);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/mfd/pcf50633-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ static int __devinit pcf50633_probe(struct i2c_client *client,

pdev->dev.parent = pcf->dev;
pdev->dev.platform_data = &pdata->reg_init_data[i];
pdev->dev.driver_data = pcf;
dev_set_drvdata(&pdev->dev, pcf);
pcf->regulator_pdev[i] = pdev;

platform_device_add(pdev);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/mfd/wm8400-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ static int wm8400_init(struct wm8400 *wm8400,

mutex_init(&wm8400->io_lock);

wm8400->dev->driver_data = wm8400;
dev_set_drvdata(wm8400->dev, wm8400);

/* Check that this is actually a WM8400 */
ret = wm8400->read_dev(wm8400->io_data, WM8400_RESET_ID, 1, &reg);
Expand Down

0 comments on commit 0c708c4

Please sign in to comment.