treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / cpufreq / cpufreq-dt.h
bloba5a45b547d0bc2c01228e41c96fd1a8dd447db45
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2016 Linaro
4 * Viresh Kumar <viresh.kumar@linaro.org>
5 */
7 #ifndef __CPUFREQ_DT_H__
8 #define __CPUFREQ_DT_H__
10 #include <linux/types.h>
12 struct cpufreq_policy;
14 struct cpufreq_dt_platform_data {
15 bool have_governor_per_policy;
17 int (*suspend)(struct cpufreq_policy *policy);
18 int (*resume)(struct cpufreq_policy *policy);
21 #endif /* __CPUFREQ_DT_H__ */