regulator: qpnp-oledb-regulator: correct various coding style issues

Correct warnings flagged by checkpatch.  In particular, modify
the following:

 - Change variables of type 'unsigned' to 'unsigned int'.

 - Update the REGULATOR_QPNP_OLEDB Kconfig option.

Change-Id: I75f4a5868f98f7090baa0dc77da8923c1d789d3a
Signed-off-by: David Collins <collinsd@codeaurora.org>
This commit is contained in:
David Collins 2017-02-01 17:49:27 -08:00
parent 62869dea24
commit ce39257f1e
2 changed files with 6 additions and 6 deletions

View file

@ -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"

View file

@ -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;