FreeBSD/sys/dev/extres/regulator/regulator.c
/* ----------------------------------------------------------------------------
 *
 * Default regulator methods for base class.
 *
 */
Default regulator methods for base class.
Default regulator methods for base class .
static int
regnode_method_enable(struct regnode *regnode, bool enable, int *udelay)
{
	if (!enable)
		return (ENXIO);
	*udelay = 0;
	return (0);
}
static int regnode_method_enable ( struct regnode * regnode , bool enable , int * udelay ) { if ( ! enable ) return ( ENXIO ) ; * udelay = 0 ; return ( 0 ) ; }
Default regulator methods for base class.
Default regulator methods for base class .