Input: synaptics-rmi4 - remove check of Non-NULL array
authorAndrew Duggan <aduggan@synaptics.com>
Fri, 18 Mar 2016 00:06:24 +0000 (17:06 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 18 Mar 2016 00:15:56 +0000 (17:15 -0700)
commita1376d3de45d3ebc26ecd8f5a57b902f52157082
tree6fcebaadcd6f6fef0a72e8390a39bd22eb519d4c
parent2d5f5611dd0de52e9a52b56391a7049a52184e72
Input: synaptics-rmi4 - remove check of Non-NULL array

Originally the irq_mask member of rmi_function was a pointer. Then it was
switched to being a zero length array. However, the checks for a NULL
pointer where not removed.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_driver.c