Vladimir Zapolskiy 99f23c2cde rapidio: fix potential NULL pointer dereference
The change fixes improper check for a returned error value by
class_create() function, which on error returns ERR_PTR() value, thus the
original check always results in a dead code on error path.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-04-28 19:34:04 -07:00
..
2016-04-02 01:17:36 +02:00
2016-03-23 17:52:10 +02:00
2016-04-12 12:35:07 -07:00
2016-04-21 20:57:46 +02:00
2016-04-16 22:52:03 +05:30
2016-03-25 08:52:25 -07:00
2016-03-17 13:47:50 -07:00
2016-04-07 22:11:08 +02:00
2016-03-23 17:20:59 -07:00
2016-04-05 06:47:50 -07:00
2016-03-24 19:57:15 -07:00
2016-03-18 10:15:11 -07:00
2016-04-15 15:25:09 -07:00
2016-03-19 15:15:07 -07:00
2016-04-18 19:52:47 -07:00
2016-04-27 08:57:11 -07:00
2016-04-14 16:54:00 +02:00
2016-03-18 10:15:11 -07:00
2016-04-25 16:20:49 -04:00
2016-04-20 10:38:06 +03:00
2016-03-17 13:05:09 -07:00
2016-04-04 11:18:00 +01:00