commit | d6fbf23f911954981d9b0e8222bed3a39313e0bb | [log] [tgz] |
---|---|---|
author | Matt Wagantall <mattw@codeaurora.org> | Thu May 03 20:09:28 2012 -0700 |
committer | Matt Wagantall <mattw@codeaurora.org> | Tue May 08 13:38:23 2012 -0700 |
tree | 6c6fe4b6bdfd827de44f7e96265eb050cf6e9284 | |
parent | 5c92211b8726c69388ca9a28e3cd67000518c538 [diff] |
msm: kgsl: Pass device pointers to regulator_get() Passing a device pointer instead of NULL as the first argument to regulator_get() allows the device to be taken into account when finding a matching regulator. This removes the need to specify a unique regulator_name in struct kgsl_pwrctrl. Change-Id: I6f6c299d5ad39b8b5b24a465ecabab484ea6d18e Signed-off-by: Matt Wagantall <mattw@codeaurora.org>