OSDN Git Service

regulator: pbias: Get rid of struct pbias_regulator_data
authorAxel Lin <axel.lin@ingics.com>
Mon, 7 Oct 2019 11:43:20 +0000 (19:43 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 7 Oct 2019 12:54:42 +0000 (13:54 +0100)
commitdf8c542ee853f22dc0e5584ba0a70de397a3d73e
tree71a6de03abbf2033c191c6fe157a506712264d74
parent151b03791e4acb09bb9a9af2a87bca1240937d6c
regulator: pbias: Get rid of struct pbias_regulator_data

Only the desc field is really used, so use struct regulator_desc instead.
Then struct pbias_regulator_data can be removed.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20191007114320.20977-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pbias-regulator.c