projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'phy-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux...
[linux-2.6-microblaze.git]
/
drivers
/
power
/
supply
/
cw2015_battery.c
diff --git
a/drivers/power/supply/cw2015_battery.c
b/drivers/power/supply/cw2015_battery.c
index
0c87ad0
..
728e2a6
100644
(file)
--- a/
drivers/power/supply/cw2015_battery.c
+++ b/
drivers/power/supply/cw2015_battery.c
@@
-689,7
+689,7
@@
static int cw_bat_probe(struct i2c_client *client)
if (ret) {
/* Allocate an empty battery */
cw_bat->battery = devm_kzalloc(&client->dev,
- sizeof(cw_bat->battery),
+ sizeof(
*
cw_bat->battery),
GFP_KERNEL);
if (!cw_bat->battery)
return -ENOMEM;