projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
regulator: tps62360: Fix up a pointer-integer size mismatch warning
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
regulator
/
tps62360-regulator.c
diff --git
a/drivers/regulator/tps62360-regulator.c
b/drivers/regulator/tps62360-regulator.c
index
c2c0185
..
c3fa15a
100644
(file)
--- a/
drivers/regulator/tps62360-regulator.c
+++ b/
drivers/regulator/tps62360-regulator.c
@@
-360,7
+360,7
@@
static int tps62360_probe(struct i2c_client *client,
dev_err(&client->dev, "Error: No device match found\n");
return -ENODEV;
}
- chip_id = (int)match->data;
+ chip_id = (int)
(long)
match->data;
if (!pdata)
pdata = of_get_tps62360_platform_data(&client->dev);
} else if (id) {