hwrng: core - rewrite better comparison to NULL
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Tue, 13 Dec 2016 14:51:10 +0000 (15:51 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 27 Dec 2016 09:49:09 +0000 (17:49 +0800)
commit2a971e3b248775f808950bdc0ac75f12a2853eff
treeeadaacb4b48cfe0a59a66a9d4daf3a5816e92a05
parent6bc17d90e62d16828d1a2113b54cfa4e04582fb6
hwrng: core - rewrite better comparison to NULL

This patch fix the checkpatch warning "Comparison to NULL could be written "!ptr"

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/core.c