]> git.baikalelectronics.ru Git - kernel.git/commit
staging: most: fix error comparison
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Sun, 22 Nov 2015 17:00:54 +0000 (22:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commitea53413b217a7ddbb84f37b5c073beac0e23200c
tree8c7d507f974f56eea0ce86e5abb0bac21896cd23
parent7384332726bfc33135e7fae31aa66e07bbc1ad88
staging: most: fix error comparison

device_create() returns ERR_PTR on error, it does not return NULL.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/mostcore/core.c