mirror of https://gitee.com/openkylin/linux.git
staging: regulator: hi6421v600-regulator: fix some coding style issues
Fix the remaining issues complained by checkpatch. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/af5101fa2ab1d267ac5ac22603f95c6065ac110f.1597647359.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6f9bd6e262
commit
1275f3c3fc
|
@ -40,7 +40,7 @@
|
|||
#include <linux/spmi.h>
|
||||
|
||||
#define rdev_dbg(rdev, fmt, arg...) \
|
||||
pr_debug("%s: %s: " fmt, rdev->desc->name, __func__, ##arg)
|
||||
pr_debug("%s: %s: " fmt, (rdev)->desc->name, __func__, ##arg)
|
||||
|
||||
struct hi6421v600_regulator {
|
||||
struct regulator_desc rdesc;
|
||||
|
@ -204,7 +204,8 @@ static int hi6421_spmi_regulator_set_mode(struct regulator_dev *rdev,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static unsigned int hi6421_spmi_regulator_get_optimum_mode(struct regulator_dev *rdev,
|
||||
static unsigned int
|
||||
hi6421_spmi_regulator_get_optimum_mode(struct regulator_dev *rdev,
|
||||
int input_uV, int output_uV,
|
||||
int load_uA)
|
||||
{
|
||||
|
@ -404,7 +405,6 @@ static int hi6421_spmi_regulator_probe_ldo(struct platform_device *pdev,
|
|||
return ret;
|
||||
}
|
||||
|
||||
|
||||
static int hi6421_spmi_regulator_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct device *pmic_dev = pdev->dev.parent;
|
||||
|
|
Loading…
Reference in New Issue