aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-05-09 09:08:28 +0000
committerRafael J. Wysocki <[email protected]>2022-05-30 16:03:38 +0000
commita9face899413f468460219c79503c091c4d362cb (patch)
tree4f31569d885b13ba13fc667990a077e93f73801f /drivers/acpi/cppc_acpi.c
parentACPI: OSL: Remove the helper for deactivating memory region (diff)
downloadkernel-a9face899413f468460219c79503c091c4d362cb.tar.gz
kernel-a9face899413f468460219c79503c091c4d362cb.zip
usb: typec: ucsi: acpi: fix a NULL vs IS_ERR() check in probe
The devm_memremap() function never returns NULL. It returns error pointers. Fixes: cdc3d2abf438 ("usb: typec: ucsi: acpi: Map the mailbox with memremap()") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions