From patchwork Mon Jan 28 18:32:50 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: 156862 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3748513jaa; Mon, 28 Jan 2019 10:33:26 -0800 (PST) X-Google-Smtp-Source: ALg8bN7NPc/SnGIQT6c2S1WWq7RkcDptCND12yO4yiC0cwLTNfjQFuE7P1gNagsR6eW6WHtKDx8M X-Received: by 2002:a63:d547:: with SMTP id v7mr20470309pgi.339.1548700406755; Mon, 28 Jan 2019 10:33:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548700406; cv=none; d=google.com; s=arc-20160816; b=hjrsZPeQZuYDkh9YIyLJvISRjHwo3EJ+gDlk3cY2zFmi+2wM3mDG6XqBMCs4Acw/Pz i2EZJ5JudXCJttZ7V60Hw4dyG/1k3PUkZn7mrXjjY3+W/sI7SjcvrSDBxuYxZPpsRkd2 KC7KMYMeHz0i4sAbqRHmCBSAENqcQd+B15XlGlpT5tQZir4oH958oYnAm8KR7PCse9XP p6hkcIMY8sAkSk8xllMQs2yqV5GYVLBsyB/qn2jWKNEKQJeILFTw34/ypikeBbyxhEl4 DQ1q1xluxZMRVd++e7qyFzcuU1WgxolRpYuZVhDkm7xoDCXzdG1M0wYIv6ZtIvJduEFi C3nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=RRgZHYe/sVOgOfTVgbFLvS25NV8X1dawYq/ksWlnIWI=; b=lVanAGaGrXFSedDPG1A+Ry8dqtraA23hzJV7AHDVEVjUJU4hGJxTqDQDblTTdTml2m hoAyd9Zlg45VnAeRC759L/hMqKa050Ulfui4FYgInjQzRrvnIyb8C5IkZEVnbCeMJTP3 2EIx5XzQ6rJyMVXiVrFUmUsk78quGJOKRGnY2FiEqT/0Fqqd6tIL7EZO9cdF/+gPWcqm /E91ASrZCEu7syLCjH9ZV3VgeQz9hm2YBRy4Q/HlZXg/cb3Yl3Pq/gEjhEFWjzAfhfls TXr0f1tl0AwJi3zOzQ/BsT3z9nLZH5HlvNtYwcqWVVqo4OJm3kcGEscNXmznCI8UJDt/ jLEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aBkjHG8f; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 20si18824003pft.177.2019.01.28.10.33.25; Mon, 28 Jan 2019 10:33:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=aBkjHG8f; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1727772AbfA1SdX (ORCPT + 15 others); Mon, 28 Jan 2019 13:33:23 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:40100 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727846AbfA1SdW (ORCPT ); Mon, 28 Jan 2019 13:33:22 -0500 Received: by mail-wm1-f66.google.com with SMTP id f188so14973307wmf.5 for ; Mon, 28 Jan 2019 10:33:22 -0800 (PST) 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; bh=RRgZHYe/sVOgOfTVgbFLvS25NV8X1dawYq/ksWlnIWI=; b=aBkjHG8f4o7l4eAKKLn0A5CYBd6ZjbqSwcMHrsKnKYYsX+97CiBkCBRosG00FDtOec 6bj0G87MmFaIKC27H2bBs+H41I3bzjfQof/VXxY65M62SBLpVr3H1oeLoz6tIVhdXu1C fA825X/ocmyVr9XKqUYCZitYuJ7skV1pTC4Ts= 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; bh=RRgZHYe/sVOgOfTVgbFLvS25NV8X1dawYq/ksWlnIWI=; b=aJlR75wjBp7XE6cNwWPlGeXzgsql9RadQuu6NGeqE7M35tBzZ6sNYJHAlNruu0Syoi 7rSwFwgrkx7pptn9/9/R36oCsd2VeqZhqQZ6SKTmd88SnTiehgtMoU0I63Rwuvw+AbPx VCwUoQOReNLIUp5JptEh+EjuZcq+v5eZE6uPUznYplQ3HgRVwRSBlsoQCJBQeyZbily8 Vrtc2MrHW90kr0Wyy25lFF0DycrQ/oL7yXhoMBpfJdfHeeaSpU1M1gJZZgfDnN/xq80+ k/mBWATrySu9b8O7erz/K21v5TWPB/MADG0l4UuQiihsWL/ai6Tf2rxfCtGH9Y7hVpUI ny1A== X-Gm-Message-State: AJcUukeoAreIFwbcPl2erxC1SADbnuE3mDeKpPcZdrTDmkeQyNAiX/DL Q+BLy82P/wA/r4A6UBMq8KSa9g== X-Received: by 2002:a1c:a755:: with SMTP id q82mr18771984wme.6.1548700401391; Mon, 28 Jan 2019 10:33:21 -0800 (PST) Received: from localhost.localdomain (233.red-81-47-145.staticip.rima-tde.net. [81.47.145.233]) by smtp.gmail.com with ESMTPSA id l19sm270082wme.21.2019.01.28.10.33.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Jan 2019 10:33:20 -0800 (PST) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, sboyd@kernel.org, bjorn.andersson@linaro.org, andy.gross@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 v2 03/14] mbox: qcom: replace integer with valid macro Date: Mon, 28 Jan 2019 19:32:50 +0100 Message-Id: <1548700381-22376-4-git-send-email-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548700381-22376-1-git-send-email-jorge.ramirez-ortiz@linaro.org> References: <1548700381-22376-1-git-send-email-jorge.ramirez-ortiz@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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.7.4 diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c index 0d64aa5..7a1b4ff 100644 --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c @@ -108,7 +108,7 @@ static int qcom_apcs_ipc_probe(struct platform_device *pdev) register_clk: 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");