]> git.baikalelectronics.ru Git - kernel.git/commit
hwrng: imx-rngc - irq already prints an error
authorNigel Christian <nigel.l.christian@gmail.com>
Thu, 29 Oct 2020 00:52:17 +0000 (20:52 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 6 Nov 2020 03:31:15 +0000 (14:31 +1100)
commitc86673c7f133495ad3753f09b8ee851e2d5019f3
tree5ef5aba479c0c3cba37382853424936cc6021eac
parent03c91918f3c1c28f897e04387dcb166b4cb7d149
hwrng: imx-rngc - irq already prints an error

Clean up the check for irq. dev_err() is superfluous as
platform_get_irq() already prints an error. Check for zero
would indicate a bug. Remove curly braces to conform to
styling requirements.
Signed-off-by: Nigel Christian <nigel.l.christian@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/imx-rngc.c