regulator: Make bulk API support optional supplies
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Tue, 10 Nov 2015 06:20:37 +0000 (22:20 -0800)
committerMark Brown <broonie@kernel.org>
Tue, 17 Nov 2015 18:54:07 +0000 (18:54 +0000)
commit3ff3f518a135fa4592fe2817e9ac2cce1fa23dc2
tree442835eec00be4e89cbca34a48c1c40b0cde629b
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
regulator: Make bulk API support optional supplies

Make it possible to use the bulk API with optional supplies, by allowing
the consumer to marking supplies as optional in the regulator_bulk_data.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
drivers/regulator/devres.c
include/linux/regulator/consumer.h