]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/imagination: Discard pm_runtime_put() return value
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Dec 2025 19:59:58 +0000 (20:59 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 8 Jan 2026 14:19:15 +0000 (15:19 +0100)
commit88dcab0650fd31072ed07a0d26fce5bbbbd8e7a1
tree38f19933ede312aa83bce5bca7a759ad8cb10a9c
parent1ade6a4f7f09d5d6f6fc449e6bfa92b5e2d063c2
drm/imagination: Discard pm_runtime_put() return value

The Imagination DRM driver defines pvr_power_put() to pass the return
value of pm_runtime_put() to the caller, but then it never uses the
return value of pvr_power_put().

Modify pvr_power_put() to discard the pm_runtime_put() return value and
change its return type to void.

No intentional functional impact.

This will facilitate a planned change of the pm_runtime_put() return
type to void in the future.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Matt Coster <matt.coster@imgtec.com>
Link: https://patch.msgid.link/8642685.T7Z3S40VBb@rafael.j.wysocki
drivers/gpu/drm/imagination/pvr_power.h