commit | 5e17f1345d97b1392b768019342ecf20b66a4381 | [log] [tgz] |
---|---|---|
author | Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org> | Thu May 16 17:10:28 2013 -0600 |
committer | Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org> | Wed May 22 13:23:12 2013 -0600 |
tree | 15a8d30c39c3df187c638838ed320d0f92278d3f | |
parent | 3086d236f1d158840f94cb2fc7dd5ca08066f800 [diff] |
msm: kgsl: Correctly check if kobj has been initialized Correctly check if kobject has been initialized by checking for the ktype member pointer inside kobj struct. If this pointer is NULL, it clearly indicates that this kobj was not initialized. Change-Id: I24190f94ec7d3cf39d52366fef8cae3d2f4f0d55 Signed-off-by: Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org>