diff options
author | Jiasheng Jiang <[email protected]> | 2022-09-13 17:11:12 +0800 |
---|---|---|
committer | Lee Jones <[email protected]> | 2022-09-28 16:17:41 +0100 |
commit | 8325a6c24ad78b8c1acc3c42b098ee24105d68e5 (patch) | |
tree | bd6c36a1f9ee72c2eb880c219b1e2eb8e5281bdc /lib/string_helpers.c | |
parent | a5e84f33cdd7957e5497a0b324cc4bd675fb8f08 (diff) |
mfd: sm501: Add check for platform_driver_register()
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 <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions