projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'trace-fixes-v4.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git]
/
drivers
/
clk
/
clk-scpi.c
diff --git
a/drivers/clk/clk-scpi.c
b/drivers/clk/clk-scpi.c
index cd0f2726f5e0dd0da33b06e4518f02fc231cf1f7..89e9ca78bb947ec2ff8242d5d826ccf8449d6259 100644
(file)
--- 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;