regulator: axp20x: Use rdev_get_id at appropriate places

Use rdev_get_id() to simplify the code a bit.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Axel Lin 2019-03-19 11:36:08 +08:00 • committed by Mark Brown
commit 04d1446bce
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0