IB/cm: Fix device_create() return value check
Use IS_ERR() instead of comparing to NULL. Signed-off-by: NJani Nikula <ext-jani.1.nikula@nokia.com> Signed-off-by: NRoland Dreier <rolandd@cisco.com>
Showing
想要评论请 注册 或 登录
Use IS_ERR() instead of comparing to NULL. Signed-off-by: NJani Nikula <ext-jani.1.nikula@nokia.com> Signed-off-by: NRoland Dreier <rolandd@cisco.com>