]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22fdfeb2cd92976d6f277d753aaea806fa17dac5
treea10c19eb1905971fbd058f9f2049951934a64d44
parent6e1b045739cb5fb1fa31e6065601988163f46744
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