summaryrefslogtreecommitdiff
path: root/include/linux/moduleloader.h
diff options
context:
space:
mode:
authorFei Shao <fshao@chromium.org>2023-12-07 02:17:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-15 19:27:04 +0300
commit3ae3cf418a01203c33113e19cc1029ac434c96b5 (patch)
tree8143877932a4272227c564e9932831f2f289fac9 /include/linux/moduleloader.h
parent490d88ef548d463c85bd75ef5300b25c92d71e5a (diff)
downloadlinux-3ae3cf418a01203c33113e19cc1029ac434c96b5.tar.xz
spmi: Return meaningful errors in spmi_controller_alloc()
spmi_controller_alloc() currently returns NULL to all types of errors, which can be improved. Use appropriate error code in returns and pass the errors from used functions where possible. Signed-off-by: Fei Shao <fshao@chromium.org> Link: https://lore.kernel.org/r/20230824104101.4083400-6-fshao@chromium.org Signed-off-by: Stephen Boyd <sboyd@kernel.org> Link: https://lore.kernel.org/r/20231206231733.4031901-8-sboyd@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/moduleloader.h')
0 files changed, 0 insertions, 0 deletions