diff options
author | Stephen Boyd <swboyd@chromium.org> | 2019-07-30 07:38:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-30 13:58:04 +0200 |
commit | 7723f4c5ecdb8d832f049f8483beb0d1081cedf6 (patch) | |
tree | c45b7bca883818c45f30ba501bd756cb18027e66 /scripts/coccinelle/api | |
parent | Merge branch 'generic_lookup_helpers' into driver-core-next (diff) | |
download | linux-7723f4c5ecdb8d832f049f8483beb0d1081cedf6.tar.xz linux-7723f4c5ecdb8d832f049f8483beb0d1081cedf6.zip |
driver core: platform: Add an error message to platform_get_irq*()
A grep of the kernel shows that many drivers print an error message if
they fail to get the irq they're looking for. Furthermore, those drivers
all decide to print the device name, or not, and the irq they were
requesting, or not, etc. Let's consolidate all these error messages into
the API itself, allowing us to get rid of the error messages in each
driver.
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: Markus Elfring <Markus.Elfring@web.de>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20190730053845.126834-2-swboyd@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/coccinelle/api')
0 files changed, 0 insertions, 0 deletions