platform: use dev_err_probe() in platform_get_irq_byname()
authorSergey Shtylyov <s.shtylyov@omp.ru>
Fri, 4 Feb 2022 20:25:23 +0000 (23:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 11:22:07 +0000 (12:22 +0100)
commit27446562a1d9946a89231504a3c64eff2e7ca41d
tree5382f88f35e32f05b69d0b67a1f9705641c14693
parentaa21a1bf97be50ce07d796fb6b0b330822515469
platform: use dev_err_probe() in platform_get_irq_byname()

The commit 2043727c2882 ("driver core: platform: Make use of the helper
function dev_err_probe()") missed to also convert platform_get_irq_byname()
for some strange reason -- do that now.

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/11a4aeb2-721c-56a9-919b-f356a30720e0@omp.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/platform.c