Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
coccinelle: Add script to check for platform_get_irq() excessive prints
Add a coccinelle script to check for the usage of dev_err() after a call to platform_get_irq{,_byname}() as it's redundant now that the function already prints an error when it fails. Cc: Greg Kroah-Hartman <[email protected]> Cc: Rob Herring <[email protected]> Cc: Bartlomiej Zolnierkiewicz <[email protected]> Cc: Javier Martinez Canillas <[email protected]> Cc: Andrzej Hajda <[email protected]> Cc: Mark Brown <[email protected]> Cc: Russell King - ARM Linux <[email protected]> Cc: Marek Szyprowski <[email protected]> Cc: Rafael J. Wysocki <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Markus Elfring <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information