Skip to content

Commit

Permalink
regulator: Initialise wm831x structure pointor for ISINK driver
Browse files Browse the repository at this point in the history
The version that made it into mainline missed the initialisation of the
chip handle.

Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Liam Girdwood <[email protected]>
  • Loading branch information
broonie authored and Liam Girdwood committed Dec 2, 2009
1 parent 2127816 commit e8092da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/regulator/wm831x-isink.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ static __devinit int wm831x_isink_probe(struct platform_device *pdev)
return -ENOMEM;
}

isink->wm831x = wm831x;

res = platform_get_resource(pdev, IORESOURCE_IO, 0);
if (res == NULL) {
dev_err(&pdev->dev, "No I/O resource\n");
Expand Down

0 comments on commit e8092da

Please sign in to comment.