[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>
This commit is contained in:
Al Viro
2006-10-09 20:29:43 +01:00
committed by Linus Torvalds
parent 97c4965d97
commit e069d79d23
3 changed files with 15 additions and 14 deletions

View File

@ -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;