regulator: Remove support for optional supplies in the bulk API
The patch was based on my missinterpretation of the API and only
accidentally worked for me. Let's clean it out to not confuse others.
This reverts commit 3ff3f518a1
.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:

committed by
Mark Brown

parent
29b4817d40
commit
565f9b073f
@@ -140,8 +140,6 @@ struct regulator;
|
||||
*
|
||||
* @supply: The name of the supply. Initialised by the user before
|
||||
* using the bulk regulator APIs.
|
||||
* @optional: The supply should be considered optional. Initialised by the user
|
||||
* before using the bulk regulator APIs.
|
||||
* @consumer: The regulator consumer for the supply. This will be managed
|
||||
* by the bulk API.
|
||||
*
|
||||
@@ -151,7 +149,6 @@ struct regulator;
|
||||
*/
|
||||
struct regulator_bulk_data {
|
||||
const char *supply;
|
||||
bool optional;
|
||||
struct regulator *consumer;
|
||||
|
||||
/* private: Internal use */
|
||||
|
Reference in New Issue
Block a user