]> git.baikalelectronics.ru Git - kernel.git/commit
i2c/ds1374: Check workqueue creation status
authorCyrill V. Gorcunov <gorcunov@gmail.com>
Thu, 22 Mar 2007 18:49:01 +0000 (19:49 +0100)
committerJean Delvare <khali@arrakis.delvare>
Thu, 22 Mar 2007 18:49:01 +0000 (19:49 +0100)
commitbcb9944974d6b4fc3da0d908c1046ebc9e3b5189
treed56517e70bf7acf339b450f9cb29c80d6ea3ea37
parent5a6cdecae62f24b08fd12fb77a017d32017e5fa4
i2c/ds1374: Check workqueue creation status

Check if workqueue creation failed.  Further usage of NULL pointed
workqueue is not good I guess ;)

Signed-off-by: Cyrill V. Gorcunov <gorcunov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/chips/ds1374.c