'\" t .\" Title: regulator_disable .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: API reference .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "REGULATOR_DISABLE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "API reference" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" regulator_disable \- disable regulator output .SH "SYNOPSIS" .HP \w'int\ regulator_disable('u .BI "int regulator_disable(struct\ regulator\ *\ " "regulator" ");" .SH "ARGUMENTS" .PP \fIregulator\fR .RS 4 regulator source .RE .SH "DESCRIPTION" .PP Disable the regulator output voltage or current\&. Calls to \fBregulator_enable\fR must be balanced with calls to \fBregulator_disable\fR\&. .SH "NOTE" .PP this will only disable the regulator output if no other consumer devices have it enabled, the regulator device supports disabling and machine constraints permit this operation\&. .SH "AUTHORS" .PP \fBLiam Girdwood\fR <\&lrg@slimlogic.co.uk\&> .RS 4 Author. .RE .PP \fBMark Brown\fR <\&broonie@opensource.wolfsonmicro.com\&> .br Wolfson Microelectronics, .RS 4 Author. .RE .SH "COPYRIGHT" .br