Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3444218pxk; Mon, 21 Sep 2020 13:58:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3iu+2BV5VkpQL2x7Vl3b3Si8r+6iWJpOJq1ffyJrdO1ZhWKaEqTIKDRsNcviWz5oL+UaT X-Received: by 2002:a05:6402:13d3:: with SMTP id a19mr740018edx.255.1600721939464; Mon, 21 Sep 2020 13:58:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600721939; cv=none; d=google.com; s=arc-20160816; b=WpUlGeIU/epj2dvBwLDLu1ks6r+EO6BzwhUbqNLYAIYpleRCvvmyCSaDu7GkwzLh5s OI6dGXeOA7D/JlqKNz8sb+JFEaM7ynKdvJ8OUCQGfDHG36xJV4zuLvEnEbHYOFroBNCs f2iD+PZSSWEW8poTxhFhnzEcmG/2zHRaWG/O27JideWSXEI/xyK9d8n05NuXJJbNnX7x jSRUvUnjPP19V15PggloUzmnV5zqgkXmlGOAfW94bVYaxjPkkR53e3AzAZfYr0D0fZHD urIh6duw+PGxRnNt0MkOXPjqSVZwZ6GK40eJSp9L5O4/bcpT+WaC21aKxLupsDZtgppx HTkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :to:from:dkim-signature; bh=dwky1Qu8Qb6KDJHCAxcTC4+wTcM91ZmS6VFq9jNYMWs=; b=PEBekZNn1pQ315x81IwALNyJMM9OmAoK2K0jZdE93EqJcHDHADtzbx80W/URJdh/Ac 1u4JRWvLZ64NrTutdNPU06U91bJ8ftJ1o6FdonvH3VznTGSQY8epJ6ReirDbsecAoTjM mV9CGt165vIpDHe3o5RkV4JUXmkQ2OnVKwUyxN3obxW/pT3e/3krEmImzVt3nVGKrEIk mVkuPCHFbzJaFEoZG4rv4ywN71KHN9nduRhFsSl4KKKDG1zEBSpTU9cfOMHafAqaTG9i BmmysB0nvpgFE7oRDer7wKG6PFoy/JExoCPsYdmBb+4BbZgXLHKGrpQCQy8LWE5iw5lu tTkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gRJdut3D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l11si8582725ejk.113.2020.09.21.13.58.36; Mon, 21 Sep 2020 13:58:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gRJdut3D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726641AbgIUUyl (ORCPT + 99 others); Mon, 21 Sep 2020 16:54:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:32884 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727805AbgIUUyk (ORCPT ); Mon, 21 Sep 2020 16:54:40 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D69D423A51; Mon, 21 Sep 2020 20:54:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721679; bh=+j1NMQRXfo7WK2NT2Ni/FTUg+lHn9ZbPIBnsqtPzjOw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gRJdut3DApPeUrKiEj68rx3t6kxSWjs0SuxElp0OIzIdcYqCpKysvAy9sf9T4Hh+1 PywkBXNNVMFMe0QfYyNunt9yjEj00M3L4qEPg2J/ONVwP7z1e7aYwNQg9MdZZ+Zf+P ghm7Sk5YGXhv4A7ZDI4EYl5awplpf4JmRIiNfiFE= From: Krzysztof Kozlowski To: Lee Jones , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , Chen-Yu Tsai , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Nicolas Saenz Julienne , Support Opensource , Andy Shevchenko , Milo Kim , Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Sangbeom Kim , Tony Lindgren , patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH 42/42] mfd: wm8994: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:50:16 +0200 Message-Id: <20200921205016.20461-42-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200921205016.20461-1-krzk@kernel.org> References: <20200921205016.20461-1-krzk@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use PLATFORM_DEVID_NONE define instead of "-1" value because: - it brings some meaning, - it might point attention why auto device ID was not used. Signed-off-by: Krzysztof Kozlowski --- drivers/mfd/wm8994-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c index 3b2b93c5bbcb..5a8d4cc00cc1 100644 --- a/drivers/mfd/wm8994-core.c +++ b/drivers/mfd/wm8994-core.c @@ -578,7 +578,7 @@ static int wm8994_device_init(struct wm8994 *wm8994, int irq) wm8994_irq_init(wm8994); - ret = mfd_add_devices(wm8994->dev, -1, + ret = mfd_add_devices(wm8994->dev, PLATFORM_DEVID_NONE, wm8994_devs, ARRAY_SIZE(wm8994_devs), NULL, 0, NULL); if (ret != 0) { -- 2.17.1