Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3442675pxk; Mon, 21 Sep 2020 13:56:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb8mvZKZfwPJ2ZTQzSH8AnmuijY2scJd+a6AM0/a1Sh1bgkGdxGUygYJwRoAPRNkuDLUmB X-Received: by 2002:a17:906:c447:: with SMTP id ck7mr1386724ejb.358.1600721774894; Mon, 21 Sep 2020 13:56:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600721774; cv=none; d=google.com; s=arc-20160816; b=KXHXVxONd6TdE3nQVANESX6cA11wApH2AF+eHotNXnXp0LS7gW9Qp2qEkeFF2hVWhd BjDvZL2UQ9LorwfwwUEOx1Kvi+aOavzqtCP1VU51LKlewOePod6k2UssdSg/zICyvby3 MZoVctTtpbMlu7DAsTr+YNC63kAlkKa9/f8tuNO4Ah085adf5myH104VRwmhftGV8bdO wZ05de2W8UL2sOFqL6DQ2+lrckRuLd2Bv8cs56avdVylC4yXPuT2CvMEEFNQN5Ucqc0M dMfMUoY8xmhbqRP8Ypq8UG5gMrhJNTAVaapGTMhEAh3mvEF3maIXJvD5/nlD3naYDaOf vmoA== 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=3UwxcG4A2w80w6VXbCUOq+Klb8Pm3Od+L71IUzbpBOY=; b=jpg4dMRf4wt9+mqMwhOov8t2GZmnBOrR9XVC31tCj/aTLPH2lCcFxps+3n3ED4CiIL NnS1/AZjgonQiuA1Ly7fQcS2aE25Xf1UpCCecx3XHyqHbUn+gaV7ge3gAssXm91dzwun 3kBXkeE/KL85Y9HxXe/4pKCEfLkXrQ04OqT5H974VmG1zk7WWWTPZquYZNmdT/MeIa5s jcib5sLjVhVliRErcv06lgnNAlFRu7FhDM2X0j5l0vTXnWaj18MXJ3TpmmU0yRSKKgjr /oyw0HpqAl68rvAgUlb/mwLXlYPdoWZrXIWH1C9DDavD+GtB22PEW/EQoR7rxgqsCFgr +KRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cXP0sxju; 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 t12si9141921eji.422.2020.09.21.13.55.51; Mon, 21 Sep 2020 13:56:14 -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=cXP0sxju; 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 S1728541AbgIUUxF (ORCPT + 99 others); Mon, 21 Sep 2020 16:53:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:59078 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726467AbgIUUxD (ORCPT ); Mon, 21 Sep 2020 16:53:03 -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 492F4239D1; Mon, 21 Sep 2020 20:52:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721582; bh=DTa0t8zx85OCD4wAxCgE1qRi2ZT8BLOTiM4fbOBfGL4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cXP0sxjubj9xy6faXr4Ggc1XoYLe1UZJ7pRl+rZeSh6eXGlMms6hE0HJTGP5DkGQN DGn/LNn8+V9x+dKmsjRwW44ah542jp51YKlgR1E+9VHIbv6ZpBGCK1AOWUdKsdsHMr a2S6VMAypKx0/k5+FKc7JQNBJTbA8tEyXkksXG7w= 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 26/42] mfd: rt5033: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:50:00 +0200 Message-Id: <20200921205016.20461-26-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/rt5033.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/rt5033.c b/drivers/mfd/rt5033.c index 48381d9bf740..8ec245cc4393 100644 --- a/drivers/mfd/rt5033.c +++ b/drivers/mfd/rt5033.c @@ -94,7 +94,7 @@ static int rt5033_i2c_probe(struct i2c_client *i2c, return ret; } - ret = devm_mfd_add_devices(rt5033->dev, -1, rt5033_devs, + ret = devm_mfd_add_devices(rt5033->dev, PLATFORM_DEVID_NONE, rt5033_devs, ARRAY_SIZE(rt5033_devs), NULL, 0, regmap_irq_get_domain(rt5033->irq_data)); if (ret < 0) { -- 2.17.1