aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAxel Lin2019-04-11 09:59:22 +0800
committerMark Brown2019-04-11 12:17:16 +0100
commit4cf469539b635d2588df4f48bf721890f5f2ade5 (patch)
treedf3212ddbb11b613229de05f341cb9bed0ee8328 /drivers/gpio
parentab54a4d7b0dd5f36cb6c2da83894590bc8bda5a5 (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>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions