Sudip Mukherjee 442168273e mtd: nand: nandsim: fix error check
debugfs_create_dir() and debugfs_create_file() returns NULL on error or
a pointer on success. They do not return the error value with ERR_PTR.
So we should not check the return with IS_ERR_OR_NULL, instead we
should just check for NULL.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2016-11-19 09:43:15 +01:00
..
2016-08-02 17:05:11 -04:00
2016-11-19 09:43:15 +01:00
2016-10-11 10:49:44 -07:00
2014-04-14 11:23:01 -07:00
2016-05-05 23:51:51 +02:00
2014-03-10 22:42:25 -07:00
2016-04-18 11:23:24 +02:00
2016-07-09 18:48:54 -07:00