unifykey: check return value of of_property_read_u32
authorJiamin Ma <jiamin.ma@amlogic.com>
Thu, 31 Aug 2017 01:51:01 +0000 (09:51 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 14 Sep 2017 10:27:45 +0000 (03:27 -0700)
commita613fe0d2b76cda212aca9930a9f01d339366a3c
tree5b1e3e453f9c1260b3dc604062ff5fc1f19d7e07
parentaa222a2e4c47dfc9ebf1197e48f3d1bd3fec15e9
unifykey: check return value of of_property_read_u32

PD#150092: Calling "of_property_read_u32" without checking return value
driver defect clean up:
#30

Change-Id: I590627fec489e2251c689b9a013d5c792ff19975
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
drivers/amlogic/unifykey/unifykey_dts.c