Re: [PATCH 3/9] regulator: mt6380: Add support for MT6380

From: Mark Brown
Date: Fri Jul 14 2017 - 11:14:53 EST


On Fri, Jul 14, 2017 at 11:06:08PM +0800, Sean Wang wrote:

> We usually want to use /sys/class/regulator/regulator.*/status to get
> actual status from hardware, but if we remove the get_status(), the
> status entry under sysfs would be gone. So could I keep the get_status
> callback in this driver ?

If the device doesn't support physical status readback it shouldn't have
a get_status() callback.

Attachment: signature.asc
Description: PGP signature