]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: sy7636a: Use rdev_get_drvdata at proper place
authorAxel Lin <axel.lin@ingics.com>
Wed, 16 Jun 2021 03:44:58 +0000 (11:44 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 16 Jun 2021 14:41:19 +0000 (15:41 +0100)
commitaef16aa025c2b9f4d3809235b8bdadfc6e95386e
tree6b427076c3dc681960f7b527828272a63667c0d5
parentc38c4a789de67c7bd1ee77d22d878a14f01aaf59
regulator: sy7636a: Use rdev_get_drvdata at proper place

At the context with *rdev, use rdev_get_drvdata() is more intuitive.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Alistair Francis <alistair@alistair23.me>
Link: https://lore.kernel.org/r/20210616034458.3499522-3-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/sy7636a-regulator.c