projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72dca06
)
regulator: core: Fix format specifier warning
author
Aniroop Mathur
<aniroop.mathur@gmail.com>
Mon, 29 Dec 2014 17:06:48 +0000
(22:36 +0530)
committer
Mark Brown
<broonie@kernel.org>
Mon, 29 Dec 2014 17:09:32 +0000
(17:09 +0000)
Signed-off-by: Aniroop Mathur <a.mathur@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/core.c
b/drivers/regulator/core.c
index 4bc5ea9721c22c643e9c641b016bc2aa8cbc1ae8..c2554d89d472f2d7ac470bfd5aacbdd7c55a3c57 100644
(file)
--- a/
drivers/regulator/core.c
+++ b/
drivers/regulator/core.c
@@
-3659,7
+3659,7
@@
regulator_register(const struct regulator_desc *regulator_desc,
rdev->dev.class = ®ulator_class;
rdev->dev.parent = dev;
dev_set_name(&rdev->dev, "regulator.%lu",
- atomic_inc_return(®ulator_no));
+
(unsigned long)
atomic_inc_return(®ulator_no));
ret = device_register(&rdev->dev);
if (ret != 0) {
put_device(&rdev->dev);