cris: return of class_create should be considered
authoryizhouzhou@ict.ac.cn <yizhouzhou@ict.ac.cn>
Fri, 23 Sep 2016 14:06:00 +0000 (16:06 +0200)
committerJesper Nilsson <jespern@axis.com>
Fri, 23 Sep 2016 14:06:00 +0000 (16:06 +0200)
commit2dc024e94578c53e2c579a48725c8fe2527f9d5e
tree488d908f2907270d7de9b5c2619d461fb32f4427
parent11c2ecdcf71bd801fda79bd99607388241d8d2ce
cris: return of class_create should be considered

Return value of class_create should be considered in module init function.

Signed-off-by: Zhouyi Zhou <zhouzhouyi@gmail.com>
Signed-off-by: Jesper Nilsson <jespern@axis.com>
arch/cris/arch-v32/drivers/sync_serial.c