Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3443595pxk; Mon, 21 Sep 2020 13:57:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZFz09eTGaJz+JteI/s8LfRWGqeOty7CDlSaDmXPwr1lSSJwxSebZmpg+rlyimIaJqMfeq X-Received: by 2002:a17:906:60d3:: with SMTP id f19mr1426291ejk.141.1600721871894; Mon, 21 Sep 2020 13:57:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600721871; cv=none; d=google.com; s=arc-20160816; b=x+c8H1PTt/zSL8VCVLYfpw2pvAw3ZgpXn8RjqO3cWOoed/2HoQKA6mTYfyZj0z3QFW zzMPcqKqGcWh9+utVeMNKK/5M6lcbUAj4elCaND+1qIXmFI7hzLh/kcTTlGaRGzM2QMG kVzb0Pzl59zuuIA8AZY7aH9AcqRzUpk3xLsS0raIGN2EnBpfHQHnZf1bA8eRDEugIBrz tpqxNbno2VKmtNlQQXld09milXkeEzq68io0sCfGziROpF2GRsw0+gPFF4CcFe56Fcy6 JXTPMlccDHgbmtvysvsb9iKGNTFJFHlLUWiF74u3RzJDrTwsdHGv+1hnEfPnzfEHf86s iUqQ== 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=KpVARp/pIZvIf5YtUPhP7PaCehDer1dOS0afYBhnemw=; b=EPZZS1bEPDKuR4zxu5jT9HCvDPQXcgoS2sNSuzaTYlMRYV8gicdAOmkJRsDgExYZtP 9+iyBO415Q36fM5j1Ra8QiLM3J+q3Vfqm1jkAj5vaHeMv5uROCAGoDpG3W+tWTD4ws1X 2yu4dtgiaHHbvQDHiYoAUpLVuXLnIU/gAUfsnOz8JmX08FNDcNYk9vP7MRWVvyMAPmn+ wZMEvrenrwCvmD0EX0cuEhoNQONR488ZWGreDr5BWQo6v3ALIfXgX21kSwcMCxNXig54 ZHFPWEw7eNe887TigLgEcc17hQa1moF6fJxyXTYYlK/bDrXg5nyaoGttozemoxzCG77E Ju2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aUk81OtZ; 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 yd22si11682930ejb.546.2020.09.21.13.57.28; Mon, 21 Sep 2020 13:57:51 -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=aUk81OtZ; 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 S1728687AbgIUUyb (ORCPT + 99 others); Mon, 21 Sep 2020 16:54:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:60886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726727AbgIUUy2 (ORCPT ); Mon, 21 Sep 2020 16:54:28 -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 B46B223A5A; Mon, 21 Sep 2020 20:54:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721667; bh=ukULXBlsraomS8n4zvGbNnhhyrJ6HJH7ioe4zIsa820=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aUk81OtZI53dO9pnRCKq89k1qzbrAhy1/of9G4MrZO1+c6NGjUbNMAwdZPN7/Byoe CWQ/NZ4ED6I22EFJgKx1Q/FKWf5C2setnagzNrR4LbzSujnQG8h39hvhRa0ZgDdQ5r 2HkOrK37NqS1Yr20cu48+cLEFn5C616YH0DH4Ir0= 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 40/42] mfd: wl1273: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:50:14 +0200 Message-Id: <20200921205016.20461-40-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/wl1273-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/wl1273-core.c b/drivers/mfd/wl1273-core.c index 1ab5e15a65eb..0af1322fd393 100644 --- a/drivers/mfd/wl1273-core.c +++ b/drivers/mfd/wl1273-core.c @@ -214,7 +214,7 @@ static int wl1273_core_probe(struct i2c_client *client, dev_dbg(&client->dev, "%s: number of children: %d.\n", __func__, children); - r = devm_mfd_add_devices(&client->dev, -1, core->cells, + r = devm_mfd_add_devices(&client->dev, PLATFORM_DEVID_NONE, core->cells, children, NULL, 0, NULL); if (r) goto err; -- 2.17.1