treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / panfrost / panfrost_devfreq.h
blob0611beffc8d0ef3603e51eb609ff332f48b260fb
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright 2019 Collabora ltd. */
4 #ifndef __PANFROST_DEVFREQ_H__
5 #define __PANFROST_DEVFREQ_H__
7 int panfrost_devfreq_init(struct panfrost_device *pfdev);
8 void panfrost_devfreq_fini(struct panfrost_device *pfdev);
10 void panfrost_devfreq_resume(struct panfrost_device *pfdev);
11 void panfrost_devfreq_suspend(struct panfrost_device *pfdev);
13 void panfrost_devfreq_record_busy(struct panfrost_device *pfdev);
14 void panfrost_devfreq_record_idle(struct panfrost_device *pfdev);
16 #endif /* __PANFROST_DEVFREQ_H__ */