Commit d6fbf23f authored by Matt Wagantall's avatar Matt Wagantall
Browse files

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: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 5c92211b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment