diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-04-27 08:29:24 +0200 |
---|---|---|
committer | Mark Brown <broonie@sirena.org.uk> | 2013-04-28 03:10:00 +0200 |
commit | eb0d8e7a14041e30f74f63dca12e0f49ee0bec39 (patch) | |
tree | 60fed3b63a12cead3da5263bbd7901573b821f56 /drivers/regulator/mc13xxx.h | |
parent | Linux 3.9-rc8 (diff) | |
download | linux-eb0d8e7a14041e30f74f63dca12e0f49ee0bec39.tar.xz linux-eb0d8e7a14041e30f74f63dca12e0f49ee0bec39.zip |
regulator: mc13xxx: Add warning of incorrect names of regulators
This patch adds a warning about incorrect regulators instead of
printing the names of non-information message about the wrong amount.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@sirena.org.uk>
Diffstat (limited to 'drivers/regulator/mc13xxx.h')
-rw-r--r-- | drivers/regulator/mc13xxx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/mc13xxx.h b/drivers/regulator/mc13xxx.h index 007f83387fd6..06c8903f182a 100644 --- a/drivers/regulator/mc13xxx.h +++ b/drivers/regulator/mc13xxx.h @@ -39,7 +39,7 @@ extern int mc13xxx_fixed_regulator_set_voltage(struct regulator_dev *rdev, extern int mc13xxx_get_num_regulators_dt(struct platform_device *pdev); extern struct mc13xxx_regulator_init_data *mc13xxx_parse_regulators_dt( struct platform_device *pdev, struct mc13xxx_regulator *regulators, - int num_regulators, int *num_parsed); + int num_regulators); #else static inline int mc13xxx_get_num_regulators_dt(struct platform_device *pdev) { @@ -48,7 +48,7 @@ static inline int mc13xxx_get_num_regulators_dt(struct platform_device *pdev) static inline struct mc13xxx_regulator_init_data *mc13xxx_parse_regulators_dt( struct platform_device *pdev, struct mc13xxx_regulator *regulators, - int num_regulators, int *num_parsed) + int num_regulators) { return NULL; } |