commit | dcce1c7c083d80a8230270eb264c90a8d767131f | [log] [tgz] |
---|---|---|
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | Thu Feb 25 19:52:27 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 11 22:09:09 2016 -0800 |
tree | 0ae0c354e561ab9e0ea605ff28b41058a23e5987 | |
parent | 0969e3d46b7cae0d52ba14e8901105d3cb421eb1 [diff] |
staging: android: ion: tegra: Replace IS_ERR_OR_NULL with IS_ERR Replace IS_ERR_OR_NULL test with an IS_ERR test since ion_device_create() function returns a valid device or a -PTR_ERR only as evidenced by the comment on the function prototype. Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>