mbox: qcom: replace integer with valid macro

Use the correct macro when registering the platform device.

Co-developed-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
This commit is contained in:
Jorge Ramirez-Ortiz 2019-08-29 10:27:59 +02:00 committed by Jassi Brar
parent 78c86458a4
commit 16d52f336b
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ static int qcom_apcs_ipc_probe(struct platform_device *pdev)
if (of_match_device(apcs_clk_match_table, &pdev->dev)) {
apcs->clk = platform_device_register_data(&pdev->dev,
"qcom-apcs-msm8916-clk",
-1, NULL, 0);
PLATFORM_DEVID_NONE,
NULL, 0);
if (IS_ERR(apcs->clk))
dev_err(&pdev->dev, "failed to register APCS clk\n");
}