Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3442033pxk; Mon, 21 Sep 2020 13:55:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy27LUJpmfVzw+A286TUu8dRb4Vi4kfS0yrxYPSiJrqNqfGbzY01dZjrAiOtRIFKiba8JBh X-Received: by 2002:a17:906:b285:: with SMTP id q5mr1313654ejz.545.1600721701525; Mon, 21 Sep 2020 13:55:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600721701; cv=none; d=google.com; s=arc-20160816; b=nVjH8H44t+x/DQUOCnHkg3Uh9NedIBP+t4BhEoTMD7xPCeETfgaCmq0exNK2ffQKjA +Tnr06TwTm/8DsP42ou990icAs2sdOVaSdpe6mKViFRVg8kINk3/VLRymEO9G4biaD+4 +fVpGHayekKI/1eV+TKVU32DGuldHmfzUCYwZ+pAHbcNXwW8lelJDlgfDbhrYbKcRl0m DlniTNwpTZYWRG6Z8hacqqiD3qy7s+tKS+YSIQnlC5oc9y9ynib/tGZq5F8Z+hrYJZok SaOPf2ciwa10JGByCC3JsGchGDn543GgfbWx+Cjf8AM136RrvUJNu/s90p1+dy9KjETb wiwA== 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=TfZnJ/fl7JRtMPxzy9SPuV+1EX26ht/yQx/eVmlAsEA=; b=0YcvM+kuoAnYTGQN2ez+EMHCUCkSdrLag2zYoRZBAQYieW2OC/Y/zEP1Ey2vavI7hm /hcUPeNwSlFn05rf/yj2dMsHTduU701sLr3TXVCIFV2Jf+j54w2GHnzIcrgzIlzqHQ90 qM8IdNkIAVvwU628S1fVDlb/yh5nGfpf5VhMaeNTXakgG1Sy/bODw16mdhxZ4kIvR8Gz e0zMnZUIOBwnByw2kwmxq7MO0LJMjOzEUy/hxa6XiXcQbAbdiwNFMurIGEMw3oO4Uqz+ bcrd4/oogoootq5eUbTkuQENhEAvyD9QI9tw2uUTF/fvoyRtv11HUb4O6uaM8dHcyPoh Hgdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hdxxlIN7; 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 e19si303425ejh.508.2020.09.21.13.54.37; Mon, 21 Sep 2020 13:55:01 -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=hdxxlIN7; 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 S1728524AbgIUUwy (ORCPT + 99 others); Mon, 21 Sep 2020 16:52:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:58868 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726467AbgIUUwv (ORCPT ); Mon, 21 Sep 2020 16:52:51 -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 32F15239D0; Mon, 21 Sep 2020 20:52:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721571; bh=4l5EcFNsHCzglwrYOfnWy2wzxJKCwp3cQW+goZZn3Bc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hdxxlIN7nhyiXICPAz/DiJXidfntdrT+N0IUCU4cEBHp8L9VNp253woUEYEdynYqo oRTK9o8UjFu6TpNvPTgQjl7jiZlF4fPgClT2pnLfo5qkCnH+5+bqChFuPbR8ci8qWh +qOdGYmNHjD0kaD7IQrPQhusQ41DVmERmeiURCUM= 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 24/42] mfd: rdc321x: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:58 +0200 Message-Id: <20200921205016.20461-24-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/rdc321x-southbridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/rdc321x-southbridge.c b/drivers/mfd/rdc321x-southbridge.c index fbb1faf95e27..6fb0d625cec9 100644 --- a/drivers/mfd/rdc321x-southbridge.c +++ b/drivers/mfd/rdc321x-southbridge.c @@ -71,7 +71,7 @@ static int rdc321x_sb_probe(struct pci_dev *pdev, rdc321x_gpio_pdata.sb_pdev = pdev; rdc321x_wdt_pdata.sb_pdev = pdev; - return devm_mfd_add_devices(&pdev->dev, -1, + return devm_mfd_add_devices(&pdev->dev, PLATFORM_DEVID_NONE, rdc321x_sb_cells, ARRAY_SIZE(rdc321x_sb_cells), NULL, 0, NULL); -- 2.17.1