]> git.baikalelectronics.ru Git - kernel.git/commit
staging: hi6421-spmi-pmic: change a return code
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 25 Jun 2021 07:45:59 +0000 (09:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jun 2021 08:02:21 +0000 (10:02 +0200)
commit9652dc3f7f37de50e2f3a7e0c5acafa0c3e3288e
treee294508979aab69936089d692fa2d97783574c4b
parent7995503f04ad95ad33ee34942b5bc0407ae225be
staging: hi6421-spmi-pmic: change a return code

return -ENODEV if irq_create_mapping() fails at probing
time.

Suggested-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/e978eabd99c0d3c471026659a2c585deb706e2c4.1624606660.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hikey9xx/hi6421-spmi-pmic.c