[PATCH] cpufreq: ARM big LITTLE: Add generic cpufreq driver and its DT glue

Harvey Harrison harvey.harrison at gmail.com
Wed Mar 6 19:49:46 EST 2013


On Wed, Mar 6, 2013 at 4:32 PM, Viresh Kumar <viresh.kumar at linaro.org> wrote:

>         clk[cluster] = clk_get_sys(name, NULL);
> -       if (!IS_ERR(clk[cluster])) {
> +       if (!IS_ERR_OR_NULL(clk[cluster])) {
>                 pr_debug("%s: clk: %p & freq table: %p, cluster: %d\n",
>                                 __func__, clk[cluster], freq_table[cluster],
>                                 cluster);


You seem pretty attached to IS_ERR_OR_NULL here.

Harvey



More information about the linux-arm-kernel mailing list