diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2015-04-16 12:22:46 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-12 16:27:22 (GMT) |
commit | 250d2ff01623e80943c4ffed0308b0d19fe6625d (patch) | |
tree | 262e68928dbc2c491d3eb047632e7f219a8ceee8 /README | |
parent | 59c0d7b1e46cbadca60f98f87906dd5f2d681764 (diff) | |
download | linux-250d2ff01623e80943c4ffed0308b0d19fe6625d.tar.xz |
[media] rtl28xxu: fix return value check in rtl2832u_tuner_attach()
In case of error, the function platform_device_register_data() returns
ERR_PTR() and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions