diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-02-24 05:23:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-08 15:23:38 +0300 |
commit | 0a0c75ce5e2615cdd926e8f3e54cc120277d40e0 (patch) | |
tree | cf350ada23c19138d981fc81e913ed607801946b /tools | |
parent | 4a852ff9b7bea9c640540e2c1bc70bd3ba455d61 (diff) | |
download | linux-0a0c75ce5e2615cdd926e8f3e54cc120277d40e0.tar.xz |
mfd: mc13xxx: Add check for mc13xxx_irq_request
[ Upstream commit e477e51a41cb5d6034f3c5ea85a71ad4613996b9 ]
As the potential failure of the devm_request_threaded_irq(),
it should be better to check the return value of the
mc13xxx_irq_request() and return error if fails.
Fixes: 8e00593557c3 ("mfd: Add mc13892 support to mc13xxx")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220224022331.3208275-1-jiasheng@iscas.ac.cn
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions