From: Mark Brown Date: Mon, 30 Nov 2009 14:01:56 +0000 (+0000) Subject: regulator: Initialise wm831x structure pointor for ISINK driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e8092da92e1fd38dc7c38a4eeae93eaa21764584;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git regulator: Initialise wm831x structure pointor for ISINK driver The version that made it into mainline missed the initialisation of the chip handle. Signed-off-by: Mark Brown Signed-off-by: Liam Girdwood --- diff --git a/drivers/regulator/wm831x-isink.c b/drivers/regulator/wm831x-isink.c index 1d8d9879d3a1..48857008758c 100644 --- a/drivers/regulator/wm831x-isink.c +++ b/drivers/regulator/wm831x-isink.c @@ -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");