diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-09 20:29:43 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-09 14:19:08 -0700 |
commit | e069d79d23739977800c3b8495853b735f77ef30 (patch) | |
tree | 733f8fea5da0501df560da5e757b4e3c4600ec1e /drivers/misc/tifm_core.c | |
parent | 97c4965d970587a1cc4264c1cffbf0ea9c1e35e8 (diff) | |
download | linux-e069d79d23739977800c3b8495853b735f77ef30.tar.bz2 |
[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.c | 2 |
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; |