drm/panfrost: Remove opp table when unloading
authorSteven Price <steven.price@arm.com>
Fri, 16 Aug 2019 09:31:07 +0000 (10:31 +0100)
committerRob Herring <robh@kernel.org>
Mon, 19 Aug 2019 16:38:51 +0000 (11:38 -0500)
commitaa4fffec310da5eb6d6ef09509b03e780bdf248a
tree9adaa48e2d0a43e00b581c6fa0fd666e79b423ab
parente21dd290881b20c9a37e4a79568841e9ffebeb67
drm/panfrost: Remove opp table when unloading

The devfreq opp table needs to be removed when unloading the driver to
free the memory associated with it.

Signed-off-by: Steven Price <steven.price@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190816093107.30518-3-steven.price@arm.com
drivers/gpu/drm/panfrost/panfrost_devfreq.c
drivers/gpu/drm/panfrost/panfrost_devfreq.h
drivers/gpu/drm/panfrost/panfrost_drv.c