OSDN Git Service

regulator: labibb: avail of simpler regulator registration api
authorAbhijeet Dharmapurikar <adharmap@codeaurora.org>
Fri, 15 Jan 2016 03:38:40 +0000 (19:38 -0800)
committerRohit Vaswani <rvaswani@codeaurora.org>
Tue, 1 Mar 2016 20:22:40 +0000 (12:22 -0800)
commit0324b74b3953d846836a2bf1d70edeab1b6829db
tree708245b4bc61a7684558dd46dff521b0fb646f10
parentd0f6370950d139c392de8ba3f11addd375bd7394
regulator: labibb: avail of simpler regulator registration api

Change,
a0c7b16 regulator: of: Provide simplified DT parsing method
enables to register a regulator without constructing an regulator_init_data
structure. The regulator_init_data is instantiated within the
registration api and is filled with information by parsing the regualtor
device node.

Avail of this convenience while registering regulators in the
driver.

Change-Id: I0d3c6e221b60a79ab011a180c7daa687b69580b1
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
drivers/regulator/qpnp-labibb-regulator.c