From: Axel Lin Date: Fri, 2 Mar 2012 01:28:44 +0000 (+0800) Subject: regulator: Add a pointer to aat2870_data in struct aat2870_regulator X-Git-Tag: v3.4-rc1~168^2~4^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b21bcd1ada026cd90243311e89dd8d999fe0a227;p=pandora-kernel.git regulator: Add a pointer to aat2870_data in struct aat2870_regulator The reason we add *pdev in struct aat2870_regulator is to use it to get a pointer to struct aat2870_data. Save a pointer to struct aat2870_data instead of pdev in struct aat2870_regulator, this change makes the intention more clear. Signed-off-by: Axel Lin Acked-by: Jin Park Signed-off-by: Mark Brown --- Reading git-diff-tree failed