mtd: create_freezable_workqueue() doesn't return an ERR_PTR
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 15 Aug 2013 07:56:29 +0000 (10:56 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:36:14 +0000 (21:36 +0100)
commit39de86ef0d333b210d27edad828d4f7cf68feff3
tree4012c9ad7938fec194ee5026fcf79cb380d73fb5
parent8a9f4aa3ac7560efcb242b3d1a31b1d804106f12
mtd: create_freezable_workqueue() doesn't return an ERR_PTR

The create_freezable_workqueue() returns a NULL on error, it doesn't
return an ERR_PTR.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/sm_ftl.c