mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-06-28 17:15:02 +00:00
The code here is checking for IS_ERR() when request_mem_region() only returns NULL on error and never an ERR_PTR. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>