projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
brcmfmac: change from brcmf_dbg to brcmf_info
[platform/kernel/linux-rpi.git]
/
drivers
/
macintosh
/
macio_asic.c
diff --git
a/drivers/macintosh/macio_asic.c
b/drivers/macintosh/macio_asic.c
index
c1fdf28
..
df69d64
100644
(file)
--- a/
drivers/macintosh/macio_asic.c
+++ b/
drivers/macintosh/macio_asic.c
@@
-423,7
+423,7
@@
static struct macio_dev * macio_add_one_device(struct macio_chip *chip,
if (of_device_register(&dev->ofdev) != 0) {
printk(KERN_DEBUG"macio: device registration error for %s!\n",
dev_name(&dev->ofdev.dev));
-
kfree(
dev);
+
put_device(&dev->ofdev.
dev);
return NULL;
}