regulator: cpcap: Convert to use of_device_get_match_data
authorAxel Lin <axel.lin@ingics.com>
Sat, 16 Mar 2019 14:35:58 +0000 (22:35 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 18 Mar 2019 12:10:31 +0000 (12:10 +0000)
commitf4192c2cc923ecd79da6cc1619794164fbafcbc4
tree6068ae1d35bef64f79d4eea2025c1d02da78eea0
parent2106e9bbffb9d91b2bc1a33c09efadc8cb3906d2
regulator: cpcap: Convert to use of_device_get_match_data

Use of_device_get_match_data to simplify the code a bit.

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