commit | 316f2fc9afdff4aee6c39c46a79a5cb29021bd2a | [log] [tgz] |
---|---|---|
author | Matt Wagantall <mattw@codeaurora.org> | Thu May 03 20:41:42 2012 -0700 |
committer | Matt Wagantall <mattw@codeaurora.org> | Tue May 08 13:38:24 2012 -0700 |
tree | 0890d9606d5e392cfd32bead3989cdd120b997a8 | |
parent | 3cd5b3d7ce774bf6ea5b1aa5cf38db9ac470985c [diff] |
msm: rotator: 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 platform data. Change-Id: Id16f85866c94b3f3b57aa720cdfbdcf3e2fd241d Signed-off-by: Matt Wagantall <mattw@codeaurora.org>