From: Axel Lin Date: Fri, 27 Aug 2010 08:37:34 +0000 (+0800) Subject: regulator: set max8998->dev to &pdev->dev. X-Git-Tag: v2.6.36-rc5~29^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=747cc851dc42ffeac2872da066ca4293a6d90baf;p=pandora-kernel.git regulator: set max8998->dev to &pdev->dev. max8998->dev is NULL in current implementation, set it to &pdev->dev. regulator_register() still return success if max8998->dev is NULL, but rdev->dev.parent will be set to NULL which is incorrect. Signed-off-by: Axel Lin Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed