From patchwork Tue Jun 25 16:47:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Ramirez-Ortiz X-Patchwork-Id: 167747 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp5780262ilk; Tue, 25 Jun 2019 09:48:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0Vu35XBRDLaPT4ekvdRsgqo3H2lyAEPRODdS5bKrnSzN5UBj+u7rA9QV8TriQnzXzVmJQ X-Received: by 2002:a17:90b:8c8:: with SMTP id ds8mr8118483pjb.89.1561481319921; Tue, 25 Jun 2019 09:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561481319; cv=none; d=google.com; s=arc-20160816; b=gdu78mq7WQE3QqbL4yho1eDA0gv6UTK7L8WWybX0iH70nqtXJHJ967MpNdUiRHTKi3 KSJustimO4bOenJuFsnvXbs0n9td9TTfDyWvA8kLajTkph5m4DP42I0OZpZAdz4HRoql 4k1vbyshOmlTqhkyzkROwGRB9w/StkmdlSPZ7EwJZMjXvZj72H3DegtX+2olrzuW3olJ Mka/J0HqolV4rrhRxsMiQfrCY7IWW374C6of64+sCLLEQKlRYIIxWfbyvRVkxrdvgm2K B0qVbfOhQeIzgz+p8rYEGl1CfBJfoBNO7PdghQ1tOhBlkOuWo7mEK3ILNtlkPOUxJXdt jXWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bWqeg/uRBmP4v1S0mrfdgUlh6T/cak+6t6geY/+2zUc=; b=vmREXcKvOeL8fDWVCmcwUQdqLc1MxOEzpHoOnwkJkkXRjKmvgp534W5yQ3zJ1nmOPI I2IKOUh2n+bNs9t+dO1vXfgVh6mWWt3he4f4CmKbbNp//qqcVMcJROjW0bMKE+E+xPBY f2HgHolCO58A2lqtwF9rD60rhO1I+MxXncYRyTEaJHsMgXgpftzG5YFiRgF2fKnX92Y4 diXWE/lHUw/e1Kw4QvvInkDsaqguxK2R7DH34fR84BLDlRl3YAYGq3dX6egp2/io6Rfi mDMEEb7Xp7BSNvUbxLoKeE9KLTFeudAo25FcjkB5UHkG9AH8evANN/pbIOtiHoPG/dJI xdWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=unkd+FMr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r19si13583490pgl.203.2019.06.25.09.48.39; Tue, 25 Jun 2019 09:48:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=unkd+FMr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731601AbfFYQrs (ORCPT + 30 others); Tue, 25 Jun 2019 12:47:48 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:44890 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730824AbfFYQro (ORCPT ); Tue, 25 Jun 2019 12:47:44 -0400 Received: by mail-wr1-f67.google.com with SMTP id r16so18640015wrl.11 for ; Tue, 25 Jun 2019 09:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bWqeg/uRBmP4v1S0mrfdgUlh6T/cak+6t6geY/+2zUc=; b=unkd+FMrbJN9AzanjOJ4wpmc5HlH/ET5TudwrnAvOcWYz1FhJuNWwwXVCCo/y84G6i nH2bHVyL1b8OXnBdWWvQ9MPcfVs/5S5DYUf7iCUuZS47RVYNIleEcEDKbEsYWLMeLJ6e TLKLP7ZrGuZSCTyJbu20xIi0iuhnhI4FBK6EYE/Os57yaBo1IYfBAiv9pUjyFW/4j6Q2 rpsOjD52BAjQRBC4//y1jisx8bzNWSTn0Xf52FSCHwQHBaHwrjO82XvDAsHMtRvJpfDn 9iuwnV+CGdKw0aqvwaspbpSaq14/rrZ3eqD1COJr+X3VxcezUlVryu0Eo02Tqu9s5TrR DbxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bWqeg/uRBmP4v1S0mrfdgUlh6T/cak+6t6geY/+2zUc=; b=IrKGjS6ZADvBYtvtrnQTtz2o8pEYuUU75XnRDFszcdrqnL5Sgs1FFvhNoTtMM0/q2u QEGbioazG3Qsdd/I21FwTtVwUAm2Jy2sB6CkQFWoO4t6qvnPcKpsM03/+vNPNKnP15Jj vk3gdxf96lpdnVz3pUzBBTeb0dXk65quOkcoykJ5d0ltgUTtlUgfYNOqv/M+7KuW95vg 6by+t+R7Y6ZjNlOQJX/I3o+3BRvBEQC0LykJ+FXmMmkkT7q7BaWdRJH6ha2m9sSSvZ+V ZB/NI9XftKBVVN90J6ayyjR2H7Qf2JGyubUJp7WjcVeYJFwOCDwqbwr1jn9MxBznLmq+ HkCA== X-Gm-Message-State: APjAAAUV0XyGeMMLgTII34hhKAyZIXxtNMm9/OSrbXkfb/ApqJ6AR2xb Le3jLJgFV5Umrcnf0cnjpF2rOg== X-Received: by 2002:adf:f948:: with SMTP id q8mr17100963wrr.196.1561481262770; Tue, 25 Jun 2019 09:47:42 -0700 (PDT) Received: from localhost.localdomain (30.red-83-34-200.dynamicip.rima-tde.net. [83.34.200.30]) by smtp.gmail.com with ESMTPSA id d18sm42594476wrb.90.2019.06.25.09.47.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Jun 2019 09:47:42 -0700 (PDT) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, sboyd@kernel.org, bjorn.andersson@linaro.org, david.brown@linaro.org, jassisinghbrar@gmail.com, mark.rutland@arm.com, mturquette@baylibre.com, robh+dt@kernel.org, will.deacon@arm.com, arnd@arndb.de, horms+renesas@verge.net.au, heiko@sntech.de, sibis@codeaurora.org, enric.balletbo@collabora.com, jagan@amarulasolutions.com, olof@lixom.net Cc: vkoul@kernel.org, niklas.cassel@linaro.org, georgi.djakov@linaro.org, amit.kucheria@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org, khasim.mohammed@linaro.org Subject: [PATCH v3 03/14] mbox: qcom: replace integer with valid macro Date: Tue, 25 Jun 2019 18:47:22 +0200 Message-Id: <20190625164733.11091-4-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190625164733.11091-1-jorge.ramirez-ortiz@linaro.org> References: <20190625164733.11091-1-jorge.ramirez-ortiz@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use the correct macro when registering the platform device. Co-developed-by: Niklas Cassel Signed-off-by: Niklas Cassel Signed-off-by: Jorge Ramirez-Ortiz --- drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.21.0 diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c index a05dc3aabac7..c8088e9caf02 100644 --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c @@ -97,7 +97,7 @@ static int qcom_apcs_ipc_probe(struct platform_device *pdev) 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");