Re: [PATCH 2/2] regulator: axp20x: Use rdev_get_id at appropriate places

2019-03-18 Thread Chen-Yu Tsai
On Tue, Mar 19, 2019 at 11:36 AM Axel Lin wrote: > > Use rdev_get_id() to simplify the code a bit. > > Signed-off-by: Axel Lin Acked-by: Chen-Yu Tsai

[PATCH 2/2] regulator: axp20x: Use rdev_get_id at appropriate places

2019-03-18 Thread Axel Lin
Use rdev_get_id() to simplify the code a bit. Signed-off-by: Axel Lin --- drivers/regulator/axp20x-regulator.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/axp20x-regulator.c index