aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/clk-scpi.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2016-02-23 08:46:27 +0900
committerKrzysztof Kozlowski <[email protected]>2016-02-23 08:46:27 +0900
commit203f974de73f47bda16ca65f070ba790071df43c (patch)
treec5f75943f899806d93bdcb6ff8013310f83cdd00 /drivers/clk/clk-scpi.c
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
parent85997a7cba7bc1578eb554e88f82023d85fb499a (diff)
Merge branch 'clk-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux into next/soc64
Before removal of ARCH_EXYNOS7 Kconfig symbol, we need to get rid of last usage of it (in the clocks Kconfig entries).
Diffstat (limited to 'drivers/clk/clk-scpi.c')
-rw-r--r--drivers/clk/clk-scpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-scpi.c b/drivers/clk/clk-scpi.c
index cd0f2726f5e0..89e9ca78bb94 100644
--- a/drivers/clk/clk-scpi.c
+++ b/drivers/clk/clk-scpi.c
@@ -299,7 +299,7 @@ static int scpi_clocks_probe(struct platform_device *pdev)
/* Add the virtual cpufreq device */
cpufreq_dev = platform_device_register_simple("scpi-cpufreq",
-1, NULL, 0);
- if (!cpufreq_dev)
+ if (IS_ERR(cpufreq_dev))
pr_warn("unable to register cpufreq device");
return 0;