regulator: twl: Use of_device_get_match_data()
authorAxel Lin <axel.lin@ingics.com>
Sat, 19 Jan 2019 12:41:35 +0000 (20:41 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 22 Jan 2019 17:26:16 +0000 (17:26 +0000)
commit93997a05e6bd7347eb8d103c96af7df4625933f1
tree9370d98c42f45c1553e789a33e3b1273680fff60
parent37b9ef9c777538db2c024ae934fd0ac73ad48b13
regulator: twl: 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/twl-regulator.c