MLK-12176 Input: ads7846: add return value check after calling .of_property_read_u32()
authorFugang Duan <b38611@freescale.com>
Mon, 11 Jan 2016 06:40:32 +0000 (14:40 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:43 +0000 (14:49 -0500)
commit38eca629ca394617d1e0f62bc5204fd30876fb4b
tree64c46eb4d99c0238bdab7c6a3f33e2426d1d1adb
parentcbcc4bc252cc3ed070c7eeb2a6717245d688b240
MLK-12176 Input: ads7846: add return value check after calling .of_property_read_u32()

Add return value check after calling .of_property_read_u32().
The issue was reported by coverity.

Signed-off-by: Fugang Duan <B38611@freescale.com>
drivers/input/touchscreen/ads7846.c