Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3443877pxk; Mon, 21 Sep 2020 13:58:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6JBPUAtXN+6bBUzC9AWkHm9u5hDer6cZKEQLet0HKInwDNXAvno8qO5CJiohqKHRbGelJ X-Received: by 2002:a17:906:2712:: with SMTP id z18mr1444122ejc.380.1600721900833; Mon, 21 Sep 2020 13:58:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600721900; cv=none; d=google.com; s=arc-20160816; b=suLct9wJsdiFx9Ef48btNE3igUjLdo1/InLVqOnRWGfiLJy0PeseVlccFzXEvmq0Wc MOKaRIDVm1BEoo9SzOgWLuJYYgi4LXdImghaqKu/PnFbfNAk4P3ZAGo9NnPkMmzqlrWJ gsA6f7Y949zTACafWi0H0MaFFyHUIOuafZGc8JhT3GDRl+/9P8Z4zQ2VSxmZit9BIeEi +xYHIOd71N1ogLbGYoCuxOqeJTuVrRkg/U9tMXN3ZBXokFDzNa2xqX9FLKxDqepby40b zTqbLDcMoTQ/rfPSZ7whEpZdFI/0+f6xD2coqzhR2Qw1qBhdSxHOCQtXJuperOGheeZB KkEA== 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=bNr6yVs7JLDlYvuQtKyU6Y/APmP6lIDg33KJOY0shsg=; b=TW1jngV52r2nTkkQqO62ehcU4t+ujPW61L8syEX0Hq/1l7THWbGen59XgzJy2ZdEv0 9xoMaa8EiX0SixvUsYngrOOv5MCuI04Z6f5Xe3joF9Cv27ufsAq1g5fsmtReRAaqNjwq 6wOuxY8ej0tP4R30aAH5wIQMFm5NSc1G5FO5yIJyKzFsucafFVJAVhP553SZUo23Zumn gf5ChSxr2qRlOqd6XLl6al9zVKrddgP11H606h0rWkyKkC4fbhyxmVkDqdfYKxdoq+iu 2WrpoY4soAknvUb2xVSVipCjH+dfXzM8rtc1BbYTXojnYosO7/SSPfD7nzh42dAl2lc3 XczQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=G4EqMpm8; 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 d9si8967491edz.97.2020.09.21.13.57.58; Mon, 21 Sep 2020 13:58:20 -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=G4EqMpm8; 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 S1728636AbgIUUx5 (ORCPT + 99 others); Mon, 21 Sep 2020 16:53:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:60282 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726727AbgIUUx5 (ORCPT ); Mon, 21 Sep 2020 16:53:57 -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 774E523A31; Mon, 21 Sep 2020 20:53:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721636; bh=UZSwm/e0zEfFzdM0MNxVIfkj5nOvKrsVm/zxq4fzYww=; h=From:To:Subject:Date:In-Reply-To:References:From; b=G4EqMpm8dwJfiH0/OFENUbsnEDd8yv0o8YIiXRXmV7hGOpX2kFhpGvvmr+nhwa9+c ONBN/6AR2e7GykEliYGagq6uFkMgERgEafRXkm4Zo28cwj01mwirNkkuNQqoJJBIbP VOjtekvuz7TlDrRyd5utewqqS/nDgFgCvwNe/Df4= 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 35/42] mfd: tps6586x: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:50:09 +0200 Message-Id: <20200921205016.20461-35-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/tps6586x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c index c36597797ddd..18158fd8aa7d 100644 --- a/drivers/mfd/tps6586x.c +++ b/drivers/mfd/tps6586x.c @@ -550,7 +550,7 @@ static int tps6586x_i2c_probe(struct i2c_client *client, } } - ret = mfd_add_devices(tps6586x->dev, -1, + ret = mfd_add_devices(tps6586x->dev, PLATFORM_DEVID_NONE, tps6586x_cell, ARRAY_SIZE(tps6586x_cell), NULL, 0, tps6586x->irq_domain); if (ret < 0) { -- 2.17.1