Signed-off-by: Aniroop Mathur <[email protected]>
---
drivers/regulator/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index b0729ef..f380f04 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -3551,7 +3551,7 @@ regulator_register(const struct regulator_desc *regulator_desc,
rdev->dev.of_node = of_node_get(config->of_node);
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);
--
1.9.1
On Mon, Dec 29, 2014 at 10:36:48PM +0530, Aniroop Mathur wrote:
> Signed-off-by: Aniroop Mathur <[email protected]>
Applied, thanks. Please check what you're generating your patches
against - they aren't applying cleanly, you should be using current
development code.
On Mon, Dec 29, 2014 at 10:40 PM, Mark Brown <[email protected]> wrote:
> On Mon, Dec 29, 2014 at 10:36:48PM +0530, Aniroop Mathur wrote:
>> Signed-off-by: Aniroop Mathur <[email protected]>
>
> Applied, thanks. Please check what you're generating your patches
> against - they aren't applying cleanly, you should be using current
> development code.
Sure, I will take care of it from next time.
Thanks !!