projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] misc NULL noise
[powerpc.git]
/
drivers
/
ps3
/
vuart.c
diff --git
a/drivers/ps3/vuart.c
b/drivers/ps3/vuart.c
index
1adf186
..
6c12744
100644
(file)
--- a/
drivers/ps3/vuart.c
+++ b/
drivers/ps3/vuart.c
@@
-952,7
+952,7
@@
fail_alloc_irq:
kfree(dev->priv);
dev->priv = NULL;
fail_alloc:
kfree(dev->priv);
dev->priv = NULL;
fail_alloc:
- vuart_bus_priv.devices[port_number] =
0
;
+ vuart_bus_priv.devices[port_number] =
NULL
;
fail_match:
up(&vuart_bus_priv.probe_mutex);
dev_dbg(&dev->core, "%s:%d failed\n", __func__, __LINE__);
fail_match:
up(&vuart_bus_priv.probe_mutex);
dev_dbg(&dev->core, "%s:%d failed\n", __func__, __LINE__);
@@
-978,7
+978,7
@@
static int ps3_vuart_remove(struct device *_dev)
dev_dbg(&dev->core, "%s:%d: %s no remove method\n", __func__,
__LINE__, dev->core.bus_id);
dev_dbg(&dev->core, "%s:%d: %s no remove method\n", __func__,
__LINE__, dev->core.bus_id);
- vuart_bus_priv.devices[dev->priv->port_number] =
0
;
+ vuart_bus_priv.devices[dev->priv->port_number] =
NULL
;
if (--vuart_bus_priv.use_count == 0) {
BUG();
if (--vuart_bus_priv.use_count == 0) {
BUG();