diff options
author | Aniroop Mathur <aniroop.mathur@gmail.com> | 2014-12-29 22:36:48 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-29 17:09:32 +0000 |
commit | 39138818a4f5c62d70f35504477c2509f982f211 (patch) | |
tree | 5a045e59d0331004de8f524d40232e33b64cd2d2 /drivers/regulator | |
parent | 72dca06f62c50415de3202f204200f58769d0b8b (diff) |
regulator: core: Fix format specifier warning
Signed-off-by: Aniroop Mathur <a.mathur@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 4bc5ea9721c2..c2554d89d472 100644 --- 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); |