CHROMIUM: Fix mali_devfreq for platform other than mediatek.

Move changes in CL:1317240 to runtime hooks instead, and add default
implementations.

BUG=b:121277411
TEST=CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 make \
       O=/tmp/allmod -j 40 allmodconfig && \
     CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 make \
       O=/tmp/allmod -j 40

Change-Id: Idc80c23bf8fa23657bdb910f9f0a73d11b5c8026
Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1424957
Commit-Ready: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Dominik Behr <dbehr@chromium.org>
4 files changed