Skip to content
Unverified Commit 4cf46953 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ab54a4d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment