regulator: twl6030: Use of_device_get_match_data()
authorAxel Lin <axel.lin@ingics.com>
Wed, 9 Jan 2019 09:30:49 +0000 (17:30 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Jan 2019 11:50:41 +0000 (11:50 +0000)
commit7085180d6a38197c86a9bea84006fa4a4813c7b7
tree85b3330f480fca3874d346a3591cccfb8ae8a654
parent67cc7ca316c4167cc5aca54b7f63a55de356d976
regulator: twl6030: 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/twl6030-regulator.c