OSDN Git Service

regulator: pbias: Use of_device_get_match_data
authorAxel Lin <axel.lin@ingics.com>
Wed, 25 Sep 2019 10:12:56 +0000 (18:12 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 11:30:50 +0000 (12:30 +0100)
commit41145b980e3f4c7c26763fae0379f1cb8f336868
treecef0ba27ac19252dc8f9290f80921bb9c805e2b9
parent2e36e140b8b8de4023dd0b85e099567ee88cf872
regulator: pbias: 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>
Link: https://lore.kernel.org/r/20190925101256.19030-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pbias-regulator.c