ir: fix coverity unchecked return value issue [1/1]
authorQianggui Song <qianggui.song@amlogic.com>
Wed, 11 Sep 2019 09:22:50 +0000 (17:22 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Wed, 18 Sep 2019 10:34:04 +0000 (03:34 -0700)
commit82d71fb81ea15c6152b23c44949b4d50c4eef6d9
treee6b977e09ac4978d64c9cebda50d93b99bb73a85
parentdf04c0675a87a6c0b6b54692002c1911b1825d78
ir: fix coverity unchecked return value issue [1/1]

PD#SWPL-13969

Problem:
In sysfs.c, return value of class_register is not checked.

Solution:
check return value of class_register

Verify:
local coverity check

Change-Id: If8deb3e388e784650e4812257143c3ac919c2d9a
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
drivers/amlogic/input/remote/sysfs.c