From patchwork Thu Aug 29 08:27:59 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: 172545 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp1887400ily; Thu, 29 Aug 2019 01:28:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+JApQN0xjAaMlhAQ85tIQPThdsugpf/E4WeVA/Q2z8W+yPzZxWN62oabs7J+WedhEIgU8 X-Received: by 2002:a62:3744:: with SMTP id e65mr10081594pfa.69.1567067290551; Thu, 29 Aug 2019 01:28:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567067290; cv=none; d=google.com; s=arc-20160816; b=WxmR7M4TK7L4ZfM7NWc15ykG35L0ZAI8jkSe8W+adoW30qiOpgM/4FKnZOawk/n3/2 b7gTnVoNsm+YRINvuFuvSqpuWJBm8bqU4M4PbDNI1seOuo9fq3GLbhgX56qFjmaRYOuN yOS1LqbRNOFceH8F4ePMPa/MskwqnnShahrxQZNUyedFXG8Q/+q3DUh25cCDXy0du7/r YY1BIBebIlbDW2o7krn6B1loCYRnM0/o4x+sc/YmraNauzTDLtu2lRoBmMlQWZWvdBul aXQ0oGpIQ7LV3N4e9x73rFRNt8NPsXmeQsOQ9fbjIkOoqqIBh3UIIvuL3czi0tGFIywJ rz7w== 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=oQKJ4w6YoHutt4+BvrwIpTgCCRkhhS0pM3V90Cc8mHA=; b=K0w5m3FYBsPLHeRrDcnC/qA01AcFeTAKEE1tmJVQY5/RCA0ku7zUJ3g7BnwXj0Zc9w DWgi4qsY5TxpjL05th6isM/4DEzPaPJizxoR3Ld7w8flD9PsWfiAhN++MpoIqryp96Jd kLMPksmAdwS50vVXzeWW6lmUqNq7nD5gg3RH9JHcu9evKhmlw15+zAoOO6S9ZneO+HrJ 5swE+jhc/qgBWwwoNf9p6//Ic6vPLoD7lPIwyGRj3ftFkc95rGfzY5XV1fRVPisy7H9J 9IbHGEDgu6qxmCslMV1bctWUnAdahWi/BHVw4jXgkTWd+UMLDZAPAqE397Z3ndDhXw8d bAhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M8VNqIQN; 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 q13si1436857pgt.232.2019.08.29.01.28.10; Thu, 29 Aug 2019 01:28:10 -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=M8VNqIQN; 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 S1727097AbfH2I2J (ORCPT + 28 others); Thu, 29 Aug 2019 04:28:09 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:38329 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727042AbfH2I2G (ORCPT ); Thu, 29 Aug 2019 04:28:06 -0400 Received: by mail-wr1-f67.google.com with SMTP id e16so2485535wro.5 for ; Thu, 29 Aug 2019 01:28:05 -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=oQKJ4w6YoHutt4+BvrwIpTgCCRkhhS0pM3V90Cc8mHA=; b=M8VNqIQNjtwzg/2qW6autWdJppvUlnXIbFJQA+oIzdQRjJ02mldBl5mucPrvv+WNOm ZLBcX3ZavEOwGS4GL6xzrwg+eiEgE+igk5tR2585eUBE6V2UMogk3hyESMoLhNOj6fxo iOZhgC9yUG+MyCj+efiHkHXa1jMMdNprsOl7fuAv8/qh6oGuw5/OvmQitiYcX6VQnobL x16PFEkXTI/wdWNRm+hHewO7OohAyYtghKzJ1YifA9auzzhwgrhoOxf9hvFyjdWpEXwu 9GmWM5KhSSBiMGO9TheO5yxKXsW7mF2mxi4HZ5vkqtTvuKWwVCprIgZwDZJOtXcDLfwN ic1g== 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=oQKJ4w6YoHutt4+BvrwIpTgCCRkhhS0pM3V90Cc8mHA=; b=dOFwSBGIjqAjH7GrbhK/OGgNJihSChsYBDZ/dRNycJKuYFs1UL+rHVI6fTfqdX61pK L6Etm1CcIrdg0FigXrCFDQ6WQvyMjAUWgCNCoBFNKIrr5LY5+zjD0l7hO6bNtUVcCj04 We7AzUj5Kj3kF9L8MZdTrGia6AtLk4Z0v+Dk76OFXM5+naqk1QEplPpfXI+XpKM0Y5Kt 7b5KKoW0/86kFFM8xY4qftveuU/sXYXl1LNvPzK1L1ahlmhp0kobpUxGwqppTfIVMI9f 3+7NqSOKrzPF9O3NUDgNf61WnoJcaLbrHCAYVuvtUesx2CdbIWhTSsf9bxerBPb/mQJD Aeeg== X-Gm-Message-State: APjAAAVFg0vOEMX4cUqx7/zRC+PAEMFdPW34KM5pA/S2U0lOESkAdD3G EmCs5nDjPCa6hpIQttXDgePsmg== X-Received: by 2002:adf:8444:: with SMTP id 62mr6920038wrf.202.1567067284493; Thu, 29 Aug 2019 01:28:04 -0700 (PDT) Received: from localhost.localdomain (124.red-83-36-179.dynamicip.rima-tde.net. [83.36.179.124]) by smtp.gmail.com with ESMTPSA id f24sm1884489wmc.25.2019.08.29.01.28.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Aug 2019 01:28:03 -0700 (PDT) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, sboyd@kernel.org, agross@kernel.org, jassisinghbrar@gmail.com Cc: niklas.cassel@linaro.org, bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] mbox: qcom: replace integer with valid macro Date: Thu, 29 Aug 2019 10:27:59 +0200 Message-Id: <20190829082759.6256-3-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190829082759.6256-1-jorge.ramirez-ortiz@linaro.org> References: <20190829082759.6256-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 Reviewed-by: Bjorn Andersson --- drivers/mailbox/qcom-apcs-ipc-mailbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.22.0 diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c index d3676fd3cf94..7870edb4405b 100644 --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c @@ -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"); }