aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorJames Morse <[email protected]>2023-10-20 13:59:48 +0000
committerRafael J. Wysocki <[email protected]>2023-10-20 16:49:31 +0000
commitb5bdb60faaaff11bcfc9a90372158bc56e7ff544 (patch)
tree16d0634cbc40e5c3135c950023551ed1314af61a /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentLinux 6.6-rc6 (diff)
downloadkernel-b5bdb60faaaff11bcfc9a90372158bc56e7ff544.tar.gz
kernel-b5bdb60faaaff11bcfc9a90372158bc56e7ff544.zip
ACPI: scan: Use the acpi_device_is_present() helper in more places
acpi_device_is_present() checks the present or functional bits from the cached copy of _STA. A few places open-code this check. Use the helper instead to improve readability. Signed-off-by: James Morse <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Reviewed-by: Gavin Shan <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]> Reviewed-by: Miguel Luis <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions