summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-02-08 17:47:45 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-08 17:47:45 -0800
commit1e319a1d2de06db367b9e862404d04a8ecbb698b (patch)
tree04a35ee000a705262972e7d92146bec4a6ff796f
parentc14db3750708ba23af62825dcd433c99bfd93206 (diff)
parentce39257f1e92cb1559a05653fa9227bca6c3af18 (diff)
Merge "regulator: qpnp-oledb-regulator: correct various coding style issues"
-rw-r--r--drivers/regulator/Kconfig10
-rw-r--r--drivers/regulator/qpnp-oledb-regulator.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 608e83181cec..e5ba63171eba 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -837,13 +837,13 @@ config REGULATOR_QPNP_LCDB
allows configurability for the various bias-voltage parameters.
config REGULATOR_QPNP_OLEDB
+ tristate "Qualcomm Technologies, Inc. QPNP OLEDB regulator support"
depends on SPMI
- tristate "Qualcomm Technologies, Inc QPNP OLEDB regulator support"
help
- This driver supports the OLEDB(AVDD bias) signal for AMOLED panel in Qualcomm
- Technologies, Inc QPNP PMIC. It exposes the OLED voltage configuration
- via the regulator framework. The configurable range of this bias is
- 5V to 8.1V.
+ This driver supports the OLEDB (AVDD bias) signal for AMOLED panel in
+ Qualcomm Technologies, Inc. QPNP PMICs. It exposes the OLED voltage
+ configuration via the regulator framework. The configurable range of
+ this bias is 5 V to 8.1 V.
config REGULATOR_SPM
bool "SPM regulator driver"
diff --git a/drivers/regulator/qpnp-oledb-regulator.c b/drivers/regulator/qpnp-oledb-regulator.c
index 587538cca474..8d017fb55a3f 100644
--- a/drivers/regulator/qpnp-oledb-regulator.c
+++ b/drivers/regulator/qpnp-oledb-regulator.c
@@ -327,7 +327,7 @@ static int qpnp_oledb_regulator_is_enabled(struct regulator_dev *rdev)
}
static int qpnp_oledb_regulator_set_voltage(struct regulator_dev *rdev,
- int min_uV, int max_uV, unsigned *selector)
+ int min_uV, int max_uV, unsigned int *selector)
{
u8 val;
int rc = 0;