Commit d918e0d5 authored by Jiasheng Jiang's avatar Jiasheng Jiang Committed by Lee Jones
Browse files

mfd: intel-lpss: Add missing check for platform_get_resource

Add the missing check for platform_get_resource and return error
if it fails.

Fixes: 4b45efe8

 ("mfd: Add support for Intel Sunrisepoint LPSS devices")
Signed-off-by: default avatarJiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: default avatarLee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230609014818.28475-1-jiasheng@iscas.ac.cn
parent 6e9df38f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment