regulator: cpcap: Remove unneeded init_data setting
authorAxel Lin <axel.lin@ingics.com>
Sat, 16 Mar 2019 14:35:57 +0000 (22:35 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 18 Mar 2019 12:10:16 +0000 (12:10 +0000)
commit2106e9bbffb9d91b2bc1a33c09efadc8cb3906d2
treea10c19eb1905971fbd058f9f2049951934a64d44
parent4d92ac7bd9f8af387d387173b380f58ad6f98b51
regulator: cpcap: Remove unneeded init_data setting

This driver is using regulator core's simplified DT parsing code,
so regulator will call regulator_of_get_init_data() to get init_data.
No need to set config.init_data. In additional, current code does not
properly set the init_data setting, so just remove it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/cpcap-regulator.c