diff options
| author | 2021-07-02 22:21:40 +0800 | |
|---|---|---|
| committer | 2021-07-07 12:01:32 +0100 | |
| commit | ea986908ccfcc53204a03bb0841227e1b26578c4 (patch) | |
| tree | 1202dd1b3a2945f694f5b935508202d18f3ce31d /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | regulator: fixed: Mark regulator-fixed-domain as deprecated (diff) | |
| download | linux-dev-ea986908ccfcc53204a03bb0841227e1b26578c4.tar.xz linux-dev-ea986908ccfcc53204a03bb0841227e1b26578c4.zip | |
regulator: mtk-dvfsrc: Fix wrong dev pointer for devm_regulator_register
If use dev->parent, the regulator_unregister will not be called when this
driver is unloaded. Fix it by using dev instead.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20210702142140.2678130-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
