staging: greybus: shorten comparison to NULL
authorIoannis Valasakis <code@wizofe.uk>
Fri, 9 Nov 2018 13:53:24 +0000 (13:53 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Nov 2018 17:49:02 +0000 (09:49 -0800)
commit9b76530d39d5741f806b13ee380908fdc0dd948f
tree2397ea8da8481aa9a472f09e515a6ceb5e31863b
parent7962e63a2f4140631ad10d475d96193a3bc8ec2f
staging: greybus: shorten comparison to NULL

Shorten pointer NULL check by simple truth test.
Reported by checkpatch.

Signed-off-by: Ioannis Valasakis <code@wizofe.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/core.c