commit | 4cf469539b635d2588df4f48bf721890f5f2ade5 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Thu Apr 11 09:59:22 2019 +0800 |
committer | Mark Brown <broonie@kernel.org> | Thu Apr 11 12:17:16 2019 +0100 |
tree | df3212ddbb11b613229de05f341cb9bed0ee8328 | |
parent | ab54a4d7b0dd5f36cb6c2da83894590bc8bda5a5 [diff] |
regulator: mcp16502: Remove unneeded fields from struct mcp16502 At the context with rdev, we can use rdev->regmap instead of mcp->rmap. The *rdev[NUM_REGULATORS] is not required because current code uses devm_regulator_register() so we don't need to store *rdev for clean up paths. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>