summaryrefslogtreecommitdiffstats
path: root/drivers/misc/tifm_core.c
diff options
context:
space:
mode:
authorAl Viro2006-10-09 21:29:43 +0200
committerLinus Torvalds2006-10-09 23:19:08 +0200
commite069d79d23739977800c3b8495853b735f77ef30 (patch)
tree733f8fea5da0501df560da5e757b4e3c4600ec1e /drivers/misc/tifm_core.c
parent[PATCH] mos7840 annotations (diff)
downloadkernel-qcow2-linux-e069d79d23739977800c3b8495853b735f77ef30.tar.gz
kernel-qcow2-linux-e069d79d23739977800c3b8495853b735f77ef30.tar.xz
kernel-qcow2-linux-e069d79d23739977800c3b8495853b735f77ef30.zip
[PATCH] tifm __iomem annotations, NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/misc/tifm_core.c')
-rw-r--r--drivers/misc/tifm_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/tifm_core.c b/drivers/misc/tifm_core.c
index cca5f8522469..ee326136d03b 100644
--- a/drivers/misc/tifm_core.c
+++ b/drivers/misc/tifm_core.c
@@ -157,7 +157,7 @@ struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id)
dev->wq = create_singlethread_workqueue(dev->wq_name);
if (!dev->wq) {
kfree(dev);
- return 0;
+ return NULL;
}
dev->dev.parent = fm->dev;
dev->dev.bus = &tifm_bus_type;