Messages in this thread | | | Date | Wed, 28 Sep 2022 10:43:40 +0100 | From | Lee Jones <> | Subject | Re: [PATCH] mfd: sm501: Add check for platform_driver_register |
| |
On Tue, 13 Sep 2022, Jiasheng Jiang wrote:
> As platform_driver_register() can return error numbers, > it should be better to check platform_driver_register() > and deal with the exception. > > Fixes: b6d6454fdb66 ("[PATCH] mfd: SM501 core driver") > Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> > --- > drivers/mfd/sm501.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-)
Applied, thanks.
-- Lee Jones [李琼斯]
| |