On Thu, Oct 21, 2021 at 04:55:17PM +0300, Dmitry Osipenko wrote: > The alternative could be to check regulator's capabilities: > if (!regulator_ops_is_valid(rdev, REGULATOR_CHANGE_VOLTAGE)) > return 0; > This looks like a better variant, actually. Yes, that should be more robust.
Attachment:
signature.asc
Description: PGP signature