mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.32] regulator: Initialise wm831x structure pointor for ISINK driver
@ 2009-11-30 14:01 Mark Brown
  2009-12-02 19:35 ` Liam Girdwood
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2009-11-30 14:01 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: linux-kernel, Mark Brown

The version that made it into mainline missed the initialisation of the
chip handle.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 drivers/regulator/wm831x-isink.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/regulator/wm831x-isink.c b/drivers/regulator/wm831x-isink.c
index 1d8d987..4885700 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");
-- 
1.6.5.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2.6.32] regulator: Initialise wm831x structure pointor for ISINK driver
  2009-11-30 14:01 [PATCH 2.6.32] regulator: Initialise wm831x structure pointor for ISINK driver Mark Brown
@ 2009-12-02 19:35 ` Liam Girdwood
  0 siblings, 0 replies; 2+ messages in thread
From: Liam Girdwood @ 2009-12-02 19:35 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-kernel

On Mon, 2009-11-30 at 14:01 +0000, Mark Brown wrote:
> The version that made it into mainline missed the initialisation of the
> chip handle.
> 
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
>  drivers/regulator/wm831x-isink.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/regulator/wm831x-isink.c b/drivers/regulator/wm831x-isink.c
> index 1d8d987..4885700 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");

Applied.

Thanks

Liam


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-02 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-30 14:01 [PATCH 2.6.32] regulator: Initialise wm831x structure pointor for ISINK driver Mark Brown
2009-12-02 19:35 ` Liam Girdwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome