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

Mark Brown broonie at kernel.org
Fri Jul 14 08:14:39 PDT 2017


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.  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20170714/1c962e4e/attachment.sig>


More information about the Linux-mediatek mailing list