]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/panfrost: dev_pm_opp_put_*() accepts NULL argument
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 6 Nov 2020 06:48:39 +0000 (12:18 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 9 Dec 2020 05:51:12 +0000 (11:21 +0530)
commitb66ba5b5938f8a51d4cb97d1392065d09551bc75
tree18d5ec4717386bd3ea24ceaecfec4aa26c4cabb6
parent72ba9e226fac8a9958b5201428a387c348515289
drm/panfrost: dev_pm_opp_put_*() accepts NULL argument

The dev_pm_opp_put_*() APIs now accepts a NULL opp_table pointer and so
there is no need for us to carry the extra check. Drop them.

Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/gpu/drm/panfrost/panfrost_devfreq.c