Re: [PATCH] regulator: rc5t583: Get rid of struct rc5t583_regulator

From: Laxman Dewangan
Date: Thu Mar 28 2019 - 04:44:41 EST




On Wednesday 27 March 2019 05:24 PM, Axel Lin wrote:
The struct rc5t583_regulator only has 2 members, the *rdev is no longer
used because this driver is using devm_regulator_register now. After remove
*rdev, only *reg_info left. We can use struct rc5t583_regulator_info
directly, so remove struct rc5t583_regulator.

Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>


Acked-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>