]> Pileus Git - ~andy/linux/blobdiff - drivers/cpufreq/pcc-cpufreq.c
Merge remote-tracking branches 'regmap/topic/cache' and 'regmap/topic/irq' into regma...
[~andy/linux] / drivers / cpufreq / pcc-cpufreq.c
index cdc02ac8f41a7ff5d3f121e2b0927fd8bf99ae7a..503996a94a6af3d4f41292794c14f261ada96ae1 100644 (file)
@@ -454,6 +454,7 @@ static int __init pcc_cpufreq_probe(void)
                                        mem_resource->address_length);
        if (pcch_virt_addr == NULL) {
                pr_debug("probe: could not map shared mem region\n");
+               ret = -ENOMEM;
                goto out_free;
        }
        pcch_hdr = pcch_virt_addr;