summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorDevesh Jhunjhunwala <deveshj@codeaurora.org>2016-02-28 15:15:34 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:09:42 -0700
commit54b0cb4a1eb642817fbecde6fd3adc2734fc3d5c (patch)
tree579ba2c89fbf885a18ffac4f00aab52fde9281a9 /drivers/regulator
parent25a33bfca90a66e780344c53c99be3aa77c2d037 (diff)
regulator: msm: Add snapshot of the stub regulator driver
This is a snapshot of the Documentation and header file for the stub regulator driver as of msm-3.18 kernel commit: 2642c0adc79c06c0f3225da0177e910a1cea8cb5 ("Merge "ARM: dts: msm: Add support for truly 720p command mode panel on msmgold"") Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/stub-regulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/stub-regulator.c b/drivers/regulator/stub-regulator.c
index 04302f05f685..a8b1862771d1 100644
--- a/drivers/regulator/stub-regulator.c
+++ b/drivers/regulator/stub-regulator.c
@@ -158,8 +158,8 @@ static int regulator_stub_probe(struct platform_device *pdev)
if (dev->of_node) {
/* Use device tree. */
- init_data = of_get_regulator_init_data(dev,
- dev->of_node);
+ init_data = of_get_regulator_init_data(dev, dev->of_node,
+ &vreg_priv->rdesc);
if (!init_data) {
dev_err(dev, "%s: unable to allocate memory\n",
__func__);