staging: typec: tcpm: Rewrite comparison to NULL pointer

Make code more concise and readable

Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Harsha Sharma 2017-09-08 23:21:25 +05:30 • committed by Greg Kroah-Hartman
commit 4c87b3e58d