Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3442740pxk; Mon, 21 Sep 2020 13:56:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMes90I5IpkBs7qDlhAiOMRVNkKCsFXAtStUsk8IshqxXj65z23cMm1hkHpF4dP0+pxiWZ X-Received: by 2002:a17:906:1115:: with SMTP id h21mr1376670eja.273.1600721783641; Mon, 21 Sep 2020 13:56:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600721783; cv=none; d=google.com; s=arc-20160816; b=EK9S9kckJ807xvSgl1dY3wCPv0v3QW+p1EdRjCQXBWLXDROxThlegHkBDci4i/yAbM QA0hple2kc3/zqvsBaMv6/rRiZRIWv19INAFZceHYAp5xjq0glvEpNP4wqX9JDtPSfF7 yxtrhjUDJz6JMpRlD6BrbeskURBwe/etzWgS2J9ypac2E9niFO0FeH2zgJklqD/Bkg6g dL1M2/1y8sz7IAGaqaLosRBC10CwepAcIhJZZGpsv6Ta+4fqyLrmIDDeWJTa83omgv55 O3npVmB9AjdDvUV9vIQ+mG9y6t4zE9jeyxle4wPmR+QqNM/rfEYMNy1mUAH4z+Vpjw26 5CcQ== 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=Sn6voai8YVJia1oC1ryXKcP92tOQPL7mHlBQ/7nIpmQ=; b=SRbZ5MPxhF8fuc9u+fKj9ALznW0shVK+1AMK3ffpOiMS4Xh+uNpFKyrw0CT5xXBnJH wOwcsrr3ZowNvkZDGn8/mEn5FE1gFg1O/hJEoodDUp7l89R+URztAztIH518ih2XUaYy Ap0ASVUaFNGJJ1BA9n8kNTE4Waeg+qfzwwx7zRA1cGH5fVttbnH/a4bajt1H5A0J9y8j wfH7w+pYYzxgBYWBYRdNGP+phM8lQGJlqD7vyvstlQwSVTOioCnz+oPjFLhyqHe3EQQ2 qf6eHfUvKxqwympemqU3/p038Mv4Gy7rv9l2+iPKBQeSJWxaw8E3jKJlYp6tpGxO6FFR xaKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=op3Iz1jq; 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 fw23si9401943ejb.402.2020.09.21.13.56.00; Mon, 21 Sep 2020 13:56:23 -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=op3Iz1jq; 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 S1728647AbgIUUyD (ORCPT + 99 others); Mon, 21 Sep 2020 16:54:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:60392 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728307AbgIUUyD (ORCPT ); Mon, 21 Sep 2020 16:54: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 5EE5323A50; Mon, 21 Sep 2020 20:53:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721642; bh=fnjIy/DliToaumnIWwx3aFKqD96GjNIH8p0ilhLZR0g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=op3Iz1jq2I/88tVIcwClgxjqmyVNlSnThEWlklT/sk5RrdAWpoC78Mmcuzqb9nbLr Fipez+ZAle820HIeu8w9XiJzd6prizZ0iJ6ynEXOh8JMtm1j4p+kiCoLukC2cdHE/8 2mgh6fEL1UnXhnYpvefYz6hidft9GMfunD/ojh8s= 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 36/42] mfd: tps65910: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:50:10 +0200 Message-Id: <20200921205016.20461-36-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/tps65910.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c index 11959021b50a..d332072ee9de 100644 --- a/drivers/mfd/tps65910.c +++ b/drivers/mfd/tps65910.c @@ -502,7 +502,7 @@ static int tps65910_i2c_probe(struct i2c_client *i2c, pm_power_off = tps65910_power_off; } - ret = devm_mfd_add_devices(tps65910->dev, -1, + ret = devm_mfd_add_devices(tps65910->dev, PLATFORM_DEVID_NONE, tps65910s, ARRAY_SIZE(tps65910s), NULL, 0, regmap_irq_get_domain(tps65910->irq_data)); -- 2.17.1