commit | 30acf24226f7035c8d50ce8d4cf69d8bf4a3c524 | [log] [tgz] |
---|---|---|
author | Zhenhua Huang <zhenhuah@codeaurora.org> | Thu Jul 11 01:52:36 2013 +0800 |
committer | Zhenhua Huang <zhenhuah@codeaurora.org> | Fri Jul 12 06:06:48 2013 +0800 |
tree | 2bee15d791434400e3f2272b216329f7ccb64c2e | |
parent | 502f45d3494393c49f8d0e5a4a61530977fa19d8 [diff] |
spmi and gpio: qpnp: add pointer check in qpnp drivers This patch is to fix KW errors in drivers. It's neccessary to check NULL pointer before dereferencing it. There're 4 issues related to it in qpnp-int.c and qpnp-pin.c. Fix them by checking before. CRs-Fixed: 505322 Change-Id: I2f82d1b24c219ef7e6b0977091fc353dac579cbc Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>