git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b61a28
)
regulator: da9055: declare return type of inline function exclusively
author
SeongJae Park
<sj38.park@gmail.com>
Wed, 12 Feb 2014 05:11:07 +0000
(14:11 +0900)
committer
Mark Brown
<broonie@linaro.org>
Wed, 12 Feb 2014 11:55:40 +0000
(11:55 +0000)
da9055_regulator_dt_init does not declare return type and it cause
following build warning.
drivers/regulator/da9055-regulator.c:582:15: warning:
return type defaults to ‘int’ [-Wreturn-type]
static inline da9055_regulator_dt_init(struct platform_device *pdev,
^
Fix the warning by declare return type as int exclusively.
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/da9055-regulator.c
patch
|
blob
|
history
diff --cc
drivers/regulator/da9055-regulator.c
Simple merge