Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3442604pxk; Mon, 21 Sep 2020 13:56:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+EMaTtHZwVyv63ScjKw+//OhV7vk8pumxzVyoTADMuMuiR6YV1KHcKQ0WAosGlaikoV45 X-Received: by 2002:aa7:dd4b:: with SMTP id o11mr737377edw.251.1600721767319; Mon, 21 Sep 2020 13:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600721767; cv=none; d=google.com; s=arc-20160816; b=TDbrAsQv47A07uafxmnyem1d7QzM23zN/psmOlMialL5Qk5+Fmos70BLE5O4Yqwtvt MaIFHdfFfTXETc3AK0G2S1MVII9HTIc8XTSv35QIeFES2AJihOlsFd/ZIdyBURLMpzP+ m9AHfGPjhMZtSIfeQ9znwVFrl6e1+sRjE+APN1upmTEb+wsuKfmHIzHjVQU3CP0rENQY 0ViBk1p0NPRg4MTEP0OHaWBPPM5meyVK3qgYYef9lLWqaq3e8YyZNaIKsyR8j99lUM65 mc52xDaV2x/OtOvzerQrFnqMNJj7G6baKP4VfVAxjj4Lj9pT9kvX5MSmyBrXN+j8GZDB dSXQ== 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=japih+QDw+R3WJS+N4NPen8PoVwI6/NSJand/Y2qxio=; b=uua5/H/S4wywjaxeluubBoSZRB16fFBMp3S84XMB8GiDSmlkU9aRqxwTb6jeDafFlI UxBiY7jEaHdSWmmwmuEaq1FW2ZZGRtGiNpaosVp7c/NHXUs++iLkqJEWGrMYSV8loCjR ruAmGAmme1AQ4vnXUnnQYlG5axAhQ3ntC68t9YJuZ9mmOHv/kMrg4N/naJ1AVkPedbvA XKP4JPjPc6P8/duSgfZ1HiuR1JaFB2h4HtxYO5qchng3/g8/HPn0J5EN6ezuUduXAPOY wstve5VPYL7xbRn54XRNy/gu5GOcBgdVY3zFeScvTSZcFOzV+kPGv0Re4kDrNMuuquaz OsKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OmTRGutK; 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 j24si8752396edt.105.2020.09.21.13.55.44; Mon, 21 Sep 2020 13:56:07 -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=OmTRGutK; 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 S1728608AbgIUUxq (ORCPT + 99 others); Mon, 21 Sep 2020 16:53:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:60000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727808AbgIUUxp (ORCPT ); Mon, 21 Sep 2020 16:53:45 -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 F178623A40; Mon, 21 Sep 2020 20:53:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721625; bh=cMiRJpoRq2UzInKVvMQQX4aNM30Dhzlto4skXmptPUE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OmTRGutKlSehHWokIvFIzS4x5J16PPPWTUJ8TJhyh488X7zteCKvsFkbdzfp0fhUF L5DjHNEMbE3xeOQXspd1yFHkWnxgGnZp2TsKlcLpDbCgfHWWmBh+erNA9WTSQPKac6 v7Hd0WvLWgZD9OIun9P2sOV64Nw+I4DdAFDj7stM= 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 33/42] mfd: tps65090: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:50:07 +0200 Message-Id: <20200921205016.20461-33-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/tps65090.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c index 6cdf6c315034..f8f7170f5822 100644 --- a/drivers/mfd/tps65090.c +++ b/drivers/mfd/tps65090.c @@ -209,7 +209,7 @@ static int tps65090_i2c_probe(struct i2c_client *client, tps65090s[CHARGER].num_resources = 0; } - ret = mfd_add_devices(tps65090->dev, -1, tps65090s, + ret = mfd_add_devices(tps65090->dev, PLATFORM_DEVID_NONE, tps65090s, ARRAY_SIZE(tps65090s), NULL, 0, regmap_irq_get_domain(tps65090->irq_data)); if (ret) { -- 2.17.1