diff options
author | Stephen Boyd <swboyd@chromium.org> | 2019-07-29 22:38:45 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-30 13:58:04 +0200 |
commit | 98051ba2b28be8a8ec5e22c01f464cff2d6d5f7c (patch) | |
tree | e399e4b21b474fcff04a46acbafe440963c3c14b /scripts/coccinelle/misc/semicolon.cocci | |
parent | 7723f4c5ecdb8d832f049f8483beb0d1081cedf6 (diff) | |
download | linux-rt-98051ba2b28be8a8ec5e22c01f464cff2d6d5f7c.tar.gz |
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 <gregkh@linuxfoundation.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Russell King - ARM Linux <linux@armlinux.org.uk>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Markus Elfring <Markus.Elfring@web.de>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20190730053845.126834-4-swboyd@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/coccinelle/misc/semicolon.cocci')
0 files changed, 0 insertions, 0 deletions