regulator: rk818: remove the repeated operations.
authorShengfei xu <xsf@rock-chips.com>
Wed, 27 Jan 2016 09:28:59 +0000 (17:28 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Sat, 30 Jan 2016 02:04:44 +0000 (10:04 +0800)
commit5d24f688220debafd3de916e9e02c8d7c0472589
treef324059f1b4b88e59815b1d609b60588898facf3
parent8de0542fae02511891340c55e00e029a22f1ea16
regulator: rk818: remove the repeated operations.

Populates regulator_init_data structure by extracting data from device
tree node, when regulator drivers register a regulator.  so we don't
repeat it.

Change-Id: I481e7c802a24916f15c5b3a5eaf66f32dc0272d7
Signed-off-by: Shengfei xu <xsf@rock-chips.com>
drivers/regulator/rk818-regulator.c