Re: [PATCH resend] hwrng: imx-rngc - irq already prints an error

2020-11-05 Thread Herbert Xu
On Wed, Oct 28, 2020 at 08:52:17PM -0400, Nigel Christian wrote: > 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

[PATCH resend] hwrng: imx-rngc - irq already prints an error

2020-10-28 Thread Nigel Christian
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 --- drivers/char/hw_random/imx-rngc.c | 4 +--- 1 file changed, 1 inserti