regulator: qpnp-lcdb-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_LCDB Kconfig option. Change-Id: I9b9324f205481dd91f0db39f2c4ac309105cb556 Signed-off-by: David Collins <collinsd@codeaurora.org>
This commit is contained in:
parent
decdf60c66
commit
62869dea24
2 changed files with 6 additions and 6 deletions
|
@ -828,11 +828,11 @@ config REGULATOR_QPNP_LABIBB
|
|||
together for LCD or AMOLED.
|
||||
|
||||
config REGULATOR_QPNP_LCDB
|
||||
tristate "Qualcomm Technologies, Inc. QPNP LCDB support"
|
||||
depends on SPMI
|
||||
tristate "Qualcomm Technologies, Inc QPNP LCDB support"
|
||||
help
|
||||
Supports the LCDB module in the Qualcomm Technologies, Inc
|
||||
QPNP PMIC. Exposes regulators to control the positive and
|
||||
Supports the LCDB module in the Qualcomm Technologies, Inc.
|
||||
QPNP PMICs. Exposes regulators to control the positive and
|
||||
negative voltage bias for the LCD display panel. It also
|
||||
allows configurability for the various bias-voltage parameters.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
@ -863,7 +863,7 @@ static int qpnp_lcdb_ldo_regulator_is_enabled(struct regulator_dev *rdev)
|
|||
}
|
||||
|
||||
static int qpnp_lcdb_ldo_regulator_set_voltage(struct regulator_dev *rdev,
|
||||
int min_uV, int max_uV, unsigned *selector)
|
||||
int min_uV, int max_uV, unsigned int *selector)
|
||||
{
|
||||
int rc = 0;
|
||||
struct qpnp_lcdb *lcdb = rdev_get_drvdata(rdev);
|
||||
|
@ -934,7 +934,7 @@ static int qpnp_lcdb_ncp_regulator_is_enabled(struct regulator_dev *rdev)
|
|||
}
|
||||
|
||||
static int qpnp_lcdb_ncp_regulator_set_voltage(struct regulator_dev *rdev,
|
||||
int min_uV, int max_uV, unsigned *selector)
|
||||
int min_uV, int max_uV, unsigned int *selector)
|
||||
{
|
||||
int rc = 0;
|
||||
struct qpnp_lcdb *lcdb = rdev_get_drvdata(rdev);
|
||||
|
|
Loading…
Add table
Reference in a new issue