From patchwork Mon Sep 21 20:49:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257173 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48BBBC4363C for ; Mon, 21 Sep 2020 20:50:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F2FEB22B2D for ; Mon, 21 Sep 2020 20:50:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721431; bh=597brXyKYL9knRl5IXCbOkwWT5omN1r2wldc4AeP01U=; h=From:To:Subject:Date:List-ID:From; b=V0tCrdABPeUf6p3fy89buOh/xFXst5gLNicM43dFxzOL/vgOmLfnaBnLO7V/WlkYC BePeNpCTY/TlbM4UTcGVsCoihrVTnGfonB3HZpmq/2T8Vuu4dZAA7O+dwRj7EOlSjv 45zUE5dWboxhKruL5HhMj2FekaB5eLG4eLhElB7s= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726492AbgIUUua (ORCPT ); Mon, 21 Sep 2020 16:50:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:55928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726427AbgIUUua (ORCPT ); Mon, 21 Sep 2020 16:50:30 -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 83C24216C4; Mon, 21 Sep 2020 20:50:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721429; bh=597brXyKYL9knRl5IXCbOkwWT5omN1r2wldc4AeP01U=; h=From:To:Subject:Date:From; b=BzSIY24V5jzxPB3N1CYINObIL3OJfd86izbjWTwoq2NXiuBa73dXq8JeJYjr52I4W dliiYx+ltUkvOvmSWqMCnJ1KVYIJL0WbE+eVv7ekpf+hkEE1Ftp239JMEFKWmr3pxR 9luKEPfvy+Tne5gwf9cABPAKIbFoZKAkInkKoH8Q= 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 01/42] mfd: arizona: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:35 +0200 Message-Id: <20200921205016.20461-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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 Acked-by: Florian Fainelli Acked-by: Alexandre Belloni Reviewed-by: Andy Shevchenko Acked-by: Charles Keepax Acked-by: Charles Keepax Acked-by: Adam Thomson Reviewed-by: Nicolas Saenz Julienne --- drivers/mfd/arizona-core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c index 000cb82023e3..bf48372db605 100644 --- a/drivers/mfd/arizona-core.c +++ b/drivers/mfd/arizona-core.c @@ -1043,8 +1043,9 @@ int arizona_dev_init(struct arizona *arizona) case CS47L24: break; /* No LDO1 regulator */ default: - ret = mfd_add_devices(arizona->dev, -1, early_devs, - ARRAY_SIZE(early_devs), NULL, 0, NULL); + ret = mfd_add_devices(arizona->dev, PLATFORM_DEVID_NONE, + early_devs, ARRAY_SIZE(early_devs), + NULL, 0, NULL); if (ret != 0) { dev_err(dev, "Failed to add early children: %d\n", ret); return ret; From patchwork Mon Sep 21 20:49:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257172 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A996C41604 for ; Mon, 21 Sep 2020 20:50:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 04E87235FA for ; Mon, 21 Sep 2020 20:50:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721447; bh=/hppmSj9+qmCoOYyMkdoXFJk4J3/tZluv1WTL90UUZ0=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=etABWev2cswCY0HgH5+HmsAdLxrovKPjgzZazurTPeEVAFw2e2MeW1n34GG5pOkjb oRHLKRLMwdxSbFPMjf/Npx6C6JvktOvhFsRBifGnyd6WuXJkebfSwNR7gDfnKxdM+T AzfXaa2Hk4h5/oBVm6kaOEQ1VDhHP0mY/X6V+BLU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727237AbgIUUun (ORCPT ); Mon, 21 Sep 2020 16:50:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:56194 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726427AbgIUUun (ORCPT ); Mon, 21 Sep 2020 16:50:43 -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 F3E8923447; Mon, 21 Sep 2020 20:50:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721443; bh=/hppmSj9+qmCoOYyMkdoXFJk4J3/tZluv1WTL90UUZ0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=1GdoondrF25sqoyVZXlcRguj23DVZQT8qI+irk9W31VX91se/nI8U9zssb6RBjkqm F3apRGONnCcz5390EUxw7F4b3cecTf0bRfIr7daxNZrar8aClgk1qPVB9lcvaTxvIk PEDmgTvuYcqqpR/UGaK+ToaeImbEST77fLiZoFso= 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 03/42] mfd: as3722: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:37 +0200 Message-Id: <20200921205016.20461-3-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-samsung-soc@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/as3722.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/as3722.c b/drivers/mfd/as3722.c index 59dfeff71592..b2151f56f3d2 100644 --- a/drivers/mfd/as3722.c +++ b/drivers/mfd/as3722.c @@ -397,7 +397,7 @@ static int as3722_i2c_probe(struct i2c_client *i2c, return ret; } - ret = devm_mfd_add_devices(&i2c->dev, -1, as3722_devs, + ret = devm_mfd_add_devices(&i2c->dev, PLATFORM_DEVID_NONE, as3722_devs, ARRAY_SIZE(as3722_devs), NULL, 0, regmap_irq_get_domain(as3722->irq_data)); if (ret) { From patchwork Mon Sep 21 20:49:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257171 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD2F3C4363C for ; Mon, 21 Sep 2020 20:50:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 740DB235FD for ; Mon, 21 Sep 2020 20:50:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721456; bh=t2H99WmS5xNa6a6jSn3yIzP1ouYHephy/D89VN66aQ8=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=tn5kvF4yhdGSHpW2qqKckGCXaA4nhIFAhUG6YCnDDhAN4PQoaHddhVEHWSoQPxbDA FYkcIgjOKNrYlFvhHUm/P5TA/JVt3XSCFbp9y+XMYEJp5Bi/DC2Ban9W2+lAqOGTSu 9xw3b2uUMdDkNUR/asAwoKhZXoE7obYmw7vBdF5Y= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727543AbgIUUu4 (ORCPT ); Mon, 21 Sep 2020 16:50:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:56460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726427AbgIUUuz (ORCPT ); Mon, 21 Sep 2020 16:50:55 -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 9E68D235F8; Mon, 21 Sep 2020 20:50:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721455; bh=t2H99WmS5xNa6a6jSn3yIzP1ouYHephy/D89VN66aQ8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rK0JONeomru5BrEpF/7wQsFPIM4ti+ZSYdDDnunwenU5Odc4xbrPD81qH8CxCMx3o C+wDZ0OOFZ0UknszvoZKJTLpObg3GZm7cJqIjLVUqSPIC3KMBAbBedMKR7038Hx+w4 XrF0raYMNvTiVtYFZKomi1W4DVmYbgUV5VmUv9lM= 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 05/42] mfd: axp20x: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:39 +0200 Message-Id: <20200921205016.20461-5-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-samsung-soc@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 Reviewed-by: Andy Shevchenko --- drivers/mfd/axp20x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index aa59496e4376..70aa538a4b64 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -967,7 +967,7 @@ int axp20x_device_probe(struct axp20x_dev *axp20x) return ret; } - ret = mfd_add_devices(axp20x->dev, -1, axp20x->cells, + ret = mfd_add_devices(axp20x->dev, PLATFORM_DEVID_NONE, axp20x->cells, axp20x->nr_cells, NULL, 0, NULL); if (ret) { From patchwork Mon Sep 21 20:49:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257170 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35C71C4363C for ; Mon, 21 Sep 2020 20:51:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F04EF2376F for ; Mon, 21 Sep 2020 20:51:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721469; bh=GrcQBuUzkSCE7UvOvr0XUftHS4HEZMx37swbChp5jCo=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=gy3PA020F8blcRYz/AliZUq8jrvJe1xEDDxrFmh30siVh+6fTRR8qVgM9p+b2GJZa 8bK9di4CGy5Hb106AxzBVlzIdI6IalGJFPdLQWEbqf1ixb8ZaRpKK5YdqjE325XPg/ +SewiSBkdBqmzjmR1ZJSpi/lkPcZOvXOgkQ5QTeQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727760AbgIUUvI (ORCPT ); Mon, 21 Sep 2020 16:51:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:56768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727030AbgIUUvI (ORCPT ); Mon, 21 Sep 2020 16:51:08 -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 8611A23718; Mon, 21 Sep 2020 20:51:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721467; bh=GrcQBuUzkSCE7UvOvr0XUftHS4HEZMx37swbChp5jCo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ikKAlphicMPpC2drKkw3KPtmkHQi3DzT4A1RTByNMNMNnEpkoXl3wH0e4lb4ArrJd 6fGKBc2kzqUw8jEXgGHjUTGYLldycbl6R4Ep5pSBy/5TD/NkFypyPV93TchEpqA30C tU7lpoAl5j20Hh04qJ3zEmC82/SfzJETKkjARVac= 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 07/42] mfd: bcm590xx: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:41 +0200 Message-Id: <20200921205016.20461-7-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-samsung-soc@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/bcm590xx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/bcm590xx.c b/drivers/mfd/bcm590xx.c index bfac5dc091ca..2f7186a6f6c0 100644 --- a/drivers/mfd/bcm590xx.c +++ b/drivers/mfd/bcm590xx.c @@ -78,8 +78,9 @@ static int bcm590xx_i2c_probe(struct i2c_client *i2c_pri, goto err; } - ret = devm_mfd_add_devices(&i2c_pri->dev, -1, bcm590xx_devs, - ARRAY_SIZE(bcm590xx_devs), NULL, 0, NULL); + ret = devm_mfd_add_devices(&i2c_pri->dev, PLATFORM_DEVID_NONE, + bcm590xx_devs, ARRAY_SIZE(bcm590xx_devs), + NULL, 0, NULL); if (ret < 0) { dev_err(&i2c_pri->dev, "failed to add sub-devices: %d\n", ret); goto err; From patchwork Mon Sep 21 20:49:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257169 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21073C4363C for ; Mon, 21 Sep 2020 20:51:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E7CF923888 for ; Mon, 21 Sep 2020 20:51:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721484; bh=/UVn5s6TKv7Fe31CTRFQoHHpELb0l/2EMST2zTJbsz4=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=BTikVETMhY27xMZD8t0KtDQa/jEjJtlo7Us5+LLD60csb75aiZ3gakq5yROYR7+Vx PNs1T1bjmQ2d8EJdMaefdTD0bvdZY2ibu3BZ1Fly64qPMbZ5pBUuKDOOyicleA/bQd xQ1pkwdLh5+qWyz6Cj3sLDlNV0S6QenT6HXoigSQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727805AbgIUUvV (ORCPT ); Mon, 21 Sep 2020 16:51:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:57024 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726427AbgIUUvV (ORCPT ); Mon, 21 Sep 2020 16:51:21 -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 A864522B2D; Mon, 21 Sep 2020 20:51:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721480; bh=/UVn5s6TKv7Fe31CTRFQoHHpELb0l/2EMST2zTJbsz4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=In5u7siPnNJ4MvBPNhDHVin5mWvPSYDvm4ktZjP8n0MQ1LyeTPfjnMQe8QbJcX/nr 1ZoDarv6uGRkLICVY03tSUJnuSizAxp58Iazj6IngA38BxCIIXGl6+RrkeZZvgS61L 9m6KeDLqOHoeC3L3zCAPcvfj2leO1muK3w4mIhkk= 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 09/42] mfd: da9150: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:43 +0200 Message-Id: <20200921205016.20461-9-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-samsung-soc@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 Acked-by: Adam Thomson --- drivers/mfd/da9150-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/da9150-core.c b/drivers/mfd/da9150-core.c index 7f0aa1e8db96..e335cf718442 100644 --- a/drivers/mfd/da9150-core.c +++ b/drivers/mfd/da9150-core.c @@ -453,7 +453,7 @@ static int da9150_probe(struct i2c_client *client, enable_irq_wake(da9150->irq); - ret = mfd_add_devices(da9150->dev, -1, da9150_devs, + ret = mfd_add_devices(da9150->dev, PLATFORM_DEVID_NONE, da9150_devs, ARRAY_SIZE(da9150_devs), NULL, da9150->irq_base, NULL); if (ret) { From patchwork Mon Sep 21 20:49:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257168 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7905C4363C for ; Mon, 21 Sep 2020 20:51:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5A97F2389F for ; Mon, 21 Sep 2020 20:51:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721494; bh=hrgFvyshBezs8X+Ou7RBhm3XKexhvJO0ARtPEgI3lko=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=SRH4nhMUUO2x/Yo/4eB5cC4n5z7hqDCs5GjtGA1fynGq65hMzfuzggX31ktKneUpA qPfcWegK1HEHV+AMpKbDpfPmLvBF3aaQUmACtx3vP3SE+Ci69r8WxF0j0GBm0AsI93 YbT+IqMQWYo+Ebag/WxmgAx3Ub2P+kPb8/B/1z8M= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726845AbgIUUve (ORCPT ); Mon, 21 Sep 2020 16:51:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:57286 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726427AbgIUUvd (ORCPT ); Mon, 21 Sep 2020 16:51:33 -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 7EC6523888; Mon, 21 Sep 2020 20:51:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721493; bh=hrgFvyshBezs8X+Ou7RBhm3XKexhvJO0ARtPEgI3lko=; h=From:To:Subject:Date:In-Reply-To:References:From; b=p27k5Q6LDoPhshFvS3u9vH5/zm9XpmbEHj6SAUI0j0jstWoOTnR6Xu3I2LHzDB9wi nxi1x0P1KZaiY3XBNb3QpIg71yakwz2lqMuUV7KmkjzXtK3gzXAR5Nfi5kS2YNiJKw WnKjztnG+2Fy+17uFs5m37DfvJw0N/aVYnp2BzoM= 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 11/42] mfd: intel_soc_pmic: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:45 +0200 Message-Id: <20200921205016.20461-11-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-samsung-soc@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 Reviewed-by: Andy Shevchenko --- drivers/mfd/intel_soc_pmic_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/intel_soc_pmic_core.c b/drivers/mfd/intel_soc_pmic_core.c index ddd64f9e3341..b7bbe58dedcc 100644 --- a/drivers/mfd/intel_soc_pmic_core.c +++ b/drivers/mfd/intel_soc_pmic_core.c @@ -86,7 +86,7 @@ static int intel_soc_pmic_i2c_probe(struct i2c_client *i2c, /* Add lookup table for crc-pwm */ pwm_add_table(crc_pwm_lookup, ARRAY_SIZE(crc_pwm_lookup)); - ret = mfd_add_devices(dev, -1, config->cell_dev, + ret = mfd_add_devices(dev, PLATFORM_DEVID_NONE, config->cell_dev, config->n_cell_devs, NULL, 0, regmap_irq_get_domain(pmic->irq_chip_data)); if (ret) From patchwork Mon Sep 21 20:49:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257167 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D873C4363C for ; Mon, 21 Sep 2020 20:51:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E13ED238D6 for ; Mon, 21 Sep 2020 20:51:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721506; bh=pRyRUXadaSrLiPBS4l8n4CpeSotECZkHr/q+CxkrM0Q=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=QirrVIMBt+rl8mykVXTUFE9+WoaFe5JD9BapEQ3HhvDQOJ6z1WswsNk4pHKLs5ENc 1Pj2vZwVXxzM3qcKR89yYDX77Scj0vBFhzE4Ajiy9QVqHNNaJA45MFXtbV2AgJ06x8 sir31h+SapG+O+Yi1HczV3vc4hv/pEF20kfoX7Hs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728374AbgIUUvp (ORCPT ); Mon, 21 Sep 2020 16:51:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:57500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728371AbgIUUvp (ORCPT ); Mon, 21 Sep 2020 16:51: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 9E6E92389F; Mon, 21 Sep 2020 20:51:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721504; bh=pRyRUXadaSrLiPBS4l8n4CpeSotECZkHr/q+CxkrM0Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=r8vuxF8R4042joYRWz6UKlYF/goi4vXuqJ2DRhdL/WJIoJhSpp6VrAqE7DWvFEbWx jx2t++FSCGa4cupOeksMx2Fav4T9mjbPiVMxwpYx+EjM/1L5g3Cvtn29WjIAuZOUsT OzkcuifluI+GpdoUliI8VXrYaRxdIct5RiLr+r4k= 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 13/42] mfd: lp8788: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:47 +0200 Message-Id: <20200921205016.20461-13-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-samsung-soc@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/lp8788.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/lp8788.c b/drivers/mfd/lp8788.c index 768d556b3fe9..8abd98bb1d9d 100644 --- a/drivers/mfd/lp8788.c +++ b/drivers/mfd/lp8788.c @@ -195,7 +195,7 @@ static int lp8788_probe(struct i2c_client *cl, const struct i2c_device_id *id) if (ret) return ret; - return mfd_add_devices(lp->dev, -1, lp8788_devs, + return mfd_add_devices(lp->dev, PLATFORM_DEVID_NONE, lp8788_devs, ARRAY_SIZE(lp8788_devs), NULL, 0, NULL); } From patchwork Mon Sep 21 20:49:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257166 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B038C4363C for ; Mon, 21 Sep 2020 20:52:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 44FD0238D7 for ; Mon, 21 Sep 2020 20:52:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721521; bh=s3lYeJolGTVwOoaBPA0aqpWf85mxmbshnqYq80JIl3s=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=IQucEmlfD2QPKkU0w3Zsj9IvGMuVol0yQI+GNBqxXTlgh1ll9Cyj/IsUd4A6Gk1kl GxJH7IV6S/7PeLSOVpqjPaDpJRHNwzZE8G/J96jeBDEUda6vcIyOuDIKH/6nrhHNea TiVSU9dE2wMcXPWI/Ob//mltW7WthuPoAAJ7PIA0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726749AbgIUUv5 (ORCPT ); Mon, 21 Sep 2020 16:51:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:57790 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726599AbgIUUv5 (ORCPT ); Mon, 21 Sep 2020 16:51: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 E53A82388E; Mon, 21 Sep 2020 20:51:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721516; bh=s3lYeJolGTVwOoaBPA0aqpWf85mxmbshnqYq80JIl3s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bz8HYfcInmU/KgG2mw/AlR8zQ7YftYuRwaZTmYTyz0gGZe4JTOGsHTWaHSgghYAb3 lCuZC9JtzHwzXAyh7urgZr67tTGkjTxOC7EAtHEBdgvCXSPfgHH+iZMMadWMjRJCWu TU4TZeCMkwcwnFbraBPgLT/uZNPeSFhfXuKViUKc= 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 15/42] mfd: max14577: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:49 +0200 Message-Id: <20200921205016.20461-15-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-samsung-soc@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/max14577.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c index be185e9d5f16..93df79748a45 100644 --- a/drivers/mfd/max14577.c +++ b/drivers/mfd/max14577.c @@ -445,7 +445,7 @@ static int max14577_i2c_probe(struct i2c_client *i2c, goto err_max77836; } - ret = mfd_add_devices(max14577->dev, -1, mfd_devs, + ret = mfd_add_devices(max14577->dev, PLATFORM_DEVID_NONE, mfd_devs, mfd_devs_size, NULL, 0, NULL); if (ret < 0) goto err_mfd; From patchwork Mon Sep 21 20:49:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257165 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81C88C4363C for ; Mon, 21 Sep 2020 20:52:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 452D92395C for ; Mon, 21 Sep 2020 20:52:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721530; bh=pbcgfuTK0gE2hDX1Xpk5L4fGTcHFSQwbdfptaLaUxiU=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=2rKxQcBYiaIuTx9LDaJJQ1bHCgRrsOV3pXUkIPNAHYNc6264opdPhjc6yW0ByIfvK Clf4mittJkqXw0IxroyNCGbw5ZUyUWNGhiOLznCy2dmZVl/GasRvcEtLTDCmRYI8pm wlzVJOrZ8kFBQV247y7msjAOGIvOY0NbBRBaU0Rs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727802AbgIUUwJ (ORCPT ); Mon, 21 Sep 2020 16:52:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:58008 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726563AbgIUUwJ (ORCPT ); Mon, 21 Sep 2020 16:52:09 -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 D90D4238E6; Mon, 21 Sep 2020 20:52:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721529; bh=pbcgfuTK0gE2hDX1Xpk5L4fGTcHFSQwbdfptaLaUxiU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oKddZ8TUUS/Cpc3sHI658VFip6uCqQBWUiwkVEfqP1p14ywNDi1srZ3VEHmPcbgWA mI2Bh2hPL1bm1DbnXSXJT517KzPIn3/XVKlJZBCtG73UX6rglq4RXoupAAXcawXLe1 F4mjsft5BekwTZhR9Fgry4UlFJZ7+/cGRLi0+Th0= 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 17/42] mfd: max77693: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:51 +0200 Message-Id: <20200921205016.20461-17-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-samsung-soc@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 Acked-by: Chanwoo Choi --- drivers/mfd/max77693.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c index 596ed85cab3b..02fbdf0a66c3 100644 --- a/drivers/mfd/max77693.c +++ b/drivers/mfd/max77693.c @@ -274,7 +274,7 @@ static int max77693_i2c_probe(struct i2c_client *i2c, pm_runtime_set_active(max77693->dev); - ret = mfd_add_devices(max77693->dev, -1, max77693_devs, + ret = mfd_add_devices(max77693->dev, PLATFORM_DEVID_NONE, max77693_devs, ARRAY_SIZE(max77693_devs), NULL, 0, NULL); if (ret < 0) goto err_mfd; From patchwork Mon Sep 21 20:49:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257164 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 311E1C4363C for ; Mon, 21 Sep 2020 20:52:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 001C22399A for ; Mon, 21 Sep 2020 20:52:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721546; bh=yEgDn4IkqKQksCNA/NQZDILTLecSilVq6LggKwvJXf8=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=kc4zKYxzmtgnTRCCafQUCuhxei8sMDG8cOpzgo/LkXtHKVK8mPztWt8fqfjqwrD4k oJhj2Tfs+UMHQNSmt3eNOcqcXT6TS1nZqvyMHp1OHs/+fuJG4KcjCCa3TY5bEpMyQC ou7CEU/PiAmTFacWElFfJLmqahz0ascK/ky013C0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727760AbgIUUwW (ORCPT ); Mon, 21 Sep 2020 16:52:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:58274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726563AbgIUUwV (ORCPT ); Mon, 21 Sep 2020 16:52:21 -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 4DF7D238E2; Mon, 21 Sep 2020 20:52:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721541; bh=yEgDn4IkqKQksCNA/NQZDILTLecSilVq6LggKwvJXf8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ugz3FBLCHTQJBrVs+u5eNW1C95SSMEs+BGcd4V04BXU5YDwerGwGJ0CeJNL7saypT Db9pZTI0RwjuWlJUfJOSB06N3FHlwhepVsR5iEGyhDS+55LS+kIGHFM0z1nrsq6E94 phi3F6o4shZGbqR+Mc0lXhXtW6rFLegkM6Mg/Nz4= 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 19/42] mfd: max8907: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:53 +0200 Message-Id: <20200921205016.20461-19-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-samsung-soc@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/max8907.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/max8907.c b/drivers/mfd/max8907.c index d44baafd9d14..5119d4092d3d 100644 --- a/drivers/mfd/max8907.c +++ b/drivers/mfd/max8907.c @@ -257,7 +257,7 @@ static int max8907_i2c_probe(struct i2c_client *i2c, enable_irq(max8907->i2c_gen->irq); - ret = mfd_add_devices(max8907->dev, -1, max8907_cells, + ret = mfd_add_devices(max8907->dev, PLATFORM_DEVID_NONE, max8907_cells, ARRAY_SIZE(max8907_cells), NULL, 0, NULL); if (ret != 0) { dev_err(&i2c->dev, "failed to add MFD devices %d\n", ret); From patchwork Mon Sep 21 20:49:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257163 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9118FC35257 for ; Mon, 21 Sep 2020 20:52:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 53725239D0 for ; Mon, 21 Sep 2020 20:52:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721554; bh=Whd+JvoTRUD6O5CJPDtNs6sNnmIrBGRuk8YsJQaT9EA=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=1gWwVf/h89IPxAwBx8y6pcQMLqyOoY0IzUvUWqHXTYjpxo8EiEPQIhgNUfIT/RQm2 BBCX+sabDTwXFQw89x33QhqViUfd/jr3OvNJX0v+TgW4vAtKl9LiXDYDfPVTOkPdwr uw6YdHK1oCtgprzGteGk/b8gCtqsIPSV1TGimpvM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728482AbgIUUwd (ORCPT ); Mon, 21 Sep 2020 16:52:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:58520 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726563AbgIUUwd (ORCPT ); Mon, 21 Sep 2020 16:52:33 -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 8AECB23998; Mon, 21 Sep 2020 20:52:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721553; bh=Whd+JvoTRUD6O5CJPDtNs6sNnmIrBGRuk8YsJQaT9EA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sNhiWDGeIHNkbAoote6tsKEdItFPJIo8GJpUiEdfAbhZPJxLRJ7lk6VWJadufd9KM TTXDzHQ1xNaJU/2I4STKmYq1U4uKiCvsKHjsiBw2gYViezkNwQ7fwtD8fX/GRfHl06 4nH7FJ0BG4eqMMrLca+OmY7uDBatZN79o8L1xqrU= 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 21/42] mfd: max8998: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:55 +0200 Message-Id: <20200921205016.20461-21-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-samsung-soc@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/max8998.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/max8998.c b/drivers/mfd/max8998.c index 785f8e9841b7..33d92eddfd06 100644 --- a/drivers/mfd/max8998.c +++ b/drivers/mfd/max8998.c @@ -208,12 +208,12 @@ static int max8998_i2c_probe(struct i2c_client *i2c, switch (max8998->type) { case TYPE_LP3974: - ret = mfd_add_devices(max8998->dev, -1, + ret = mfd_add_devices(max8998->dev, PLATFORM_DEVID_NONE, lp3974_devs, ARRAY_SIZE(lp3974_devs), NULL, 0, NULL); break; case TYPE_MAX8998: - ret = mfd_add_devices(max8998->dev, -1, + ret = mfd_add_devices(max8998->dev, PLATFORM_DEVID_NONE, max8998_devs, ARRAY_SIZE(max8998_devs), NULL, 0, NULL); break; From patchwork Mon Sep 21 20:49:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257162 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF649C41604 for ; Mon, 21 Sep 2020 20:52:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B39A4239ED for ; Mon, 21 Sep 2020 20:52:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721571; bh=hE3o37HAl8/p4qX2nqJrTMXoyiiYALc9HXrxjJsJ00g=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=uRMIqq6tWfjg+3xjlwTaaIlFT2Zu+UKU+ZAULJqq/GsgzGBmQAZyj+OoXZUUVZRJ2 An0L4gkEZEmqW5HnOnVPgFDFsHca3gZJDy2/SMWVnxrSAE7KOpysnqWIqU4xHJbo3/ PM7ePzkB9E/UIQBqR19JHQzFL/1OJYHfPCMRgMrI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728509AbgIUUwq (ORCPT ); Mon, 21 Sep 2020 16:52:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:58752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726563AbgIUUwq (ORCPT ); Mon, 21 Sep 2020 16:52:46 -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 182792399C; Mon, 21 Sep 2020 20:52:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721565; bh=hE3o37HAl8/p4qX2nqJrTMXoyiiYALc9HXrxjJsJ00g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gsRJKxxoh+mcFlptxey0q3x8S3T4GD9G7kLspIytq2CPvD556wNwoa1jibU+syoiE tsRzrc/yVMRQSHiorqtvQVNjfxLZ1AM1rDMx2Vhfd0q5oV1hxMpsRVxKG706y5uII+ SOe9FeQouh+g8sPtFBIDXEhlvg+C3zv5LQXqVwx4= 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 23/42] mfd: rc5t583: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:57 +0200 Message-Id: <20200921205016.20461-23-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-samsung-soc@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/rc5t583.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/rc5t583.c b/drivers/mfd/rc5t583.c index d0dc48f99096..a4915f411ee8 100644 --- a/drivers/mfd/rc5t583.c +++ b/drivers/mfd/rc5t583.c @@ -270,8 +270,9 @@ static int rc5t583_i2c_probe(struct i2c_client *i2c, dev_warn(&i2c->dev, "IRQ init failed: %d\n", ret); } - ret = devm_mfd_add_devices(rc5t583->dev, -1, rc5t583_subdevs, - ARRAY_SIZE(rc5t583_subdevs), NULL, 0, NULL); + ret = devm_mfd_add_devices(rc5t583->dev, PLATFORM_DEVID_NONE, + rc5t583_subdevs, ARRAY_SIZE(rc5t583_subdevs), + NULL, 0, NULL); if (ret) { dev_err(&i2c->dev, "add mfd devices failed: %d\n", ret); return ret; From patchwork Mon Sep 21 20:49:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257161 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C746C4363C for ; Mon, 21 Sep 2020 20:53:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ED25F23A02 for ; Mon, 21 Sep 2020 20:53:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721584; bh=tV83lbckL3BUbusSp+k2ben0NRWIywBFOecylgZRFzU=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=J0c2hPWhXYKP19eiUIVumwy7ppL2svt7Z8tZBBibvpiCvpuDekeGWizC/PIBM1Iyg rurd2f5l849itHuA/uvUGNRs5ymJ0PVMOSAfCqDME/DxR+nkZgZAdf5rOeI72iveUX 9VGTHOC0/3KQEkZQ5hAlNX5nKKe9/4SwOcrTdr/U= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728032AbgIUUxA (ORCPT ); Mon, 21 Sep 2020 16:53:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:58980 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726467AbgIUUw5 (ORCPT ); Mon, 21 Sep 2020 16:52: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 A5C27239E7; Mon, 21 Sep 2020 20:52:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721576; bh=tV83lbckL3BUbusSp+k2ben0NRWIywBFOecylgZRFzU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=E+RGMGs0y1au3y8G/YoZX5va4ym8jLAJVdPslKDcnTJfrtBC5wofWJASM+BWB9fjC fWx2+6ZhiIGkIk+OBLGY5BJYtpQD2Kk7rl9o305hcetDfabvEnDVepx2CcFpZRAcxg 81O6vo4O9y/gq35y72re5tfX4qW42k1/QiQguzWA= 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 25/42] mfd: retu: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:49:59 +0200 Message-Id: <20200921205016.20461-25-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-samsung-soc@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/retu-mfd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/retu-mfd.c b/drivers/mfd/retu-mfd.c index e7d27b7861c1..55e24e8343f3 100644 --- a/drivers/mfd/retu-mfd.c +++ b/drivers/mfd/retu-mfd.c @@ -271,9 +271,9 @@ static int retu_probe(struct i2c_client *i2c, const struct i2c_device_id *id) if (ret < 0) return ret; - ret = mfd_add_devices(rdev->dev, -1, rdat->children, rdat->nchildren, - NULL, regmap_irq_chip_get_base(rdev->irq_data), - NULL); + ret = mfd_add_devices(rdev->dev, PLATFORM_DEVID_NONE, rdat->children, + rdat->nchildren, NULL, + regmap_irq_chip_get_base(rdev->irq_data), NULL); if (ret < 0) { regmap_del_irq_chip(i2c->irq, rdev->irq_data); return ret; From patchwork Mon Sep 21 20:50:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257160 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD8F7C41604 for ; Mon, 21 Sep 2020 20:53:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ABC3A23A02 for ; Mon, 21 Sep 2020 20:53:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721591; bh=2+06qkbWAVkuhERi8bhEbQjqR1FgtPU6AJIKYJUtzs4=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=M6Bdzo4+sb7CTukSbOyKjgatfc9Uh//vW6uv97nYBtltRaJkv35sMmHrf2l0cRAqE y52EhPDUuSvqEUPt59wmeJI7H9Od/CU+XjX/sjKEtAUTtIcSvVFBagKLLbOvUVzM+d ryznFFZWCL9bMCx7I0INstNrDNwXhGS5qk+kuCpY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728548AbgIUUxL (ORCPT ); Mon, 21 Sep 2020 16:53:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:59214 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727339AbgIUUxJ (ORCPT ); Mon, 21 Sep 2020 16:53:09 -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 74E70239EB; Mon, 21 Sep 2020 20:53:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721588; bh=2+06qkbWAVkuhERi8bhEbQjqR1FgtPU6AJIKYJUtzs4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yQowhQxnH44W+Den+Gm9jvWj8JtK6DNN/YYciYlwqQpU+z7+vAEs9H4lO500Uwzgy iPXvXrendlG4E81o18bwZ8I4MLSZuRPMBk+Mb7iKR9/QAGmGAdGrUlGX9aei5RE8yQ JIIqa36YxlE88vEaGRtyOAoJsBWWe2WIJSsj57iI= 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 27/42] mfd: sec: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:50:01 +0200 Message-Id: <20200921205016.20461-27-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-samsung-soc@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/sec-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c index 8d55992da19e..804f32d0ae22 100644 --- a/drivers/mfd/sec-core.c +++ b/drivers/mfd/sec-core.c @@ -457,8 +457,8 @@ static int sec_pmic_probe(struct i2c_client *i2c, sec_pmic->device_type); return -ENODEV; } - ret = devm_mfd_add_devices(sec_pmic->dev, -1, sec_devs, num_sec_devs, - NULL, 0, NULL); + ret = devm_mfd_add_devices(sec_pmic->dev, PLATFORM_DEVID_NONE, + sec_devs, num_sec_devs, NULL, 0, NULL); if (ret) return ret; From patchwork Mon Sep 21 20:50:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257159 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40BF0C41604 for ; Mon, 21 Sep 2020 20:53:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 018A223A02 for ; Mon, 21 Sep 2020 20:53:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721602; bh=Gd5L6OSoOltwRu1LJekfayeX7TBoV7+ZPquyuCTihUs=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=hmeLSkgYEOZRRULOJcu/7SXyoMgTUBJBnCaiWDr4zL9QqyQ/ASYSUxojKam2USExu wh8HPyplPz83BaqCWx60uApyT7E/WQq06gOuqG9caOTvB80gdbhOOaUlJsBFp9XVMO qXlR3Hb9Tzm/68jWGF9+M03AtCI3FQivuEUWlaCk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726749AbgIUUxV (ORCPT ); Mon, 21 Sep 2020 16:53:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:59446 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727339AbgIUUxV (ORCPT ); Mon, 21 Sep 2020 16:53:21 -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 5F2FB23A03; Mon, 21 Sep 2020 20:53:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721600; bh=Gd5L6OSoOltwRu1LJekfayeX7TBoV7+ZPquyuCTihUs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yFDZPUhtdDXi2eGOkC/Kr9YCwTlRmiQaHGrq1t65W8Iwli6viP3MPo1u+Wjl2cs7o n6iZGZYjgAU4yYMOYgWbKLhgOVbUQfjh+w4YObVydvZDqK5zmNdIubLXrW0r1ud024 U3I8aRti4esshB0PxBAYMlzBkqwiw1Agiy71PNBE= 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 29/42] mfd: sta2x11: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:50:03 +0200 Message-Id: <20200921205016.20461-29-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-samsung-soc@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/sta2x11-mfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/sta2x11-mfd.c b/drivers/mfd/sta2x11-mfd.c index 1819c8fe4d8f..fafb3292dce8 100644 --- a/drivers/mfd/sta2x11-mfd.c +++ b/drivers/mfd/sta2x11-mfd.c @@ -594,7 +594,7 @@ static int sta2x11_mfd_probe(struct pci_dev *pdev, /* Just 2 bars for all mfd's at present */ for (i = 0; i < 2; i++) { - err = mfd_add_devices(&pdev->dev, -1, + err = mfd_add_devices(&pdev->dev, PLATFORM_DEVID_NONE, setup_data->bars[i].cells, setup_data->bars[i].ncells, &pdev->resource[i], From patchwork Mon Sep 21 20:50:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257158 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F6D0C41604 for ; Mon, 21 Sep 2020 20:53:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3B63D23A1E for ; Mon, 21 Sep 2020 20:53:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721615; bh=vSy8YmQ7rMfM5gLA126GFQJXpLeU/lgw/zMliEK3SNE=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=2iV+7fjF15ciScGyfDRpjYCbCi6zYULT2PJSWOe1gn+Wo9EIxeOCaCMA/chyJ74it CTVzbPoU0kenRsCx2OEBOsXD4yF59UnlalxVgMG0b/gspJ1t3q4HGY/qW5RMERSU5G Q0HTCp94zD2d/ewyGYUwVvP98kV5jhcp/xg8Udf4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728594AbgIUUxe (ORCPT ); Mon, 21 Sep 2020 16:53:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:59674 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728591AbgIUUxd (ORCPT ); Mon, 21 Sep 2020 16:53:33 -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 5054023A02; Mon, 21 Sep 2020 20:53:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721612; bh=vSy8YmQ7rMfM5gLA126GFQJXpLeU/lgw/zMliEK3SNE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=0b8YLwhSR25s08K6K3VIQv8gf0CHWCOkUjWK+7fUVSw5u6ixUSqp7WJXhs1CGI99X U7tUJKfLfR65YwpxpXsfeR0W3Vai0heNWWPRDwE9mGx250fEc2uDCQmQztNpeFJW+E 6HJ606+1we8DiViFLx+X8zeQQmnoqfLJkd/968MQ= 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 31/42] mfd: timberdale: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:50:05 +0200 Message-Id: <20200921205016.20461-31-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-samsung-soc@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/timberdale.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/timberdale.c b/drivers/mfd/timberdale.c index faecbca6dba3..de1589fa2120 100644 --- a/drivers/mfd/timberdale.c +++ b/drivers/mfd/timberdale.c @@ -740,25 +740,25 @@ static int timb_probe(struct pci_dev *dev, ip_setup = priv->fw.config & TIMB_HW_VER_MASK; switch (ip_setup) { case TIMB_HW_VER0: - err = mfd_add_devices(&dev->dev, -1, + err = mfd_add_devices(&dev->dev, PLATFORM_DEVID_NONE, timberdale_cells_bar0_cfg0, ARRAY_SIZE(timberdale_cells_bar0_cfg0), &dev->resource[0], msix_entries[0].vector, NULL); break; case TIMB_HW_VER1: - err = mfd_add_devices(&dev->dev, -1, + err = mfd_add_devices(&dev->dev, PLATFORM_DEVID_NONE, timberdale_cells_bar0_cfg1, ARRAY_SIZE(timberdale_cells_bar0_cfg1), &dev->resource[0], msix_entries[0].vector, NULL); break; case TIMB_HW_VER2: - err = mfd_add_devices(&dev->dev, -1, + err = mfd_add_devices(&dev->dev, PLATFORM_DEVID_NONE, timberdale_cells_bar0_cfg2, ARRAY_SIZE(timberdale_cells_bar0_cfg2), &dev->resource[0], msix_entries[0].vector, NULL); break; case TIMB_HW_VER3: - err = mfd_add_devices(&dev->dev, -1, + err = mfd_add_devices(&dev->dev, PLATFORM_DEVID_NONE, timberdale_cells_bar0_cfg3, ARRAY_SIZE(timberdale_cells_bar0_cfg3), &dev->resource[0], msix_entries[0].vector, NULL); From patchwork Mon Sep 21 20:50:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257157 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A3A6C4363C for ; Mon, 21 Sep 2020 20:53:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5957323A33 for ; Mon, 21 Sep 2020 20:53:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721626; bh=cMiRJpoRq2UzInKVvMQQX4aNM30Dhzlto4skXmptPUE=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=IcuEKII2xUwc5WB8+h3zBQPb90lG0Q+FsFcn6Nk+6z0swjJgIgIhWrTXHBd6t9YF6 GMUU4/d3PIDldSq7ysuhuTSqMHgXujQv7k5ACqKrazLeyBtasZdIDZqkb2WUWZjzUf CbcnZJn82RAEM/E84DJpHmKr90wT5gouqNYaufy4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728256AbgIUUxq (ORCPT ); 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-samsung-soc@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) { From patchwork Mon Sep 21 20:50:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257156 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BAF3AC4363C for ; Mon, 21 Sep 2020 20:54:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 89B9E23A34 for ; Mon, 21 Sep 2020 20:54:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721641; bh=UZSwm/e0zEfFzdM0MNxVIfkj5nOvKrsVm/zxq4fzYww=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=PvL21uspwKDfEcSTXNsQr/Q1TkGk9VvplUyOJiKAYi0UfGAGHS+XwqL/AV4wk/e9X /Krc4KhS9FPYePDFR0tIcFnyal8InHoB0qE1Wr8Xq1IoqNxrBbcS7fsuIz/xtHvunq Gz85GVVvC+is4eGFd+UjXO8U3dDJuUHWu2JekyKo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728209AbgIUUx5 (ORCPT ); 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-samsung-soc@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) { From patchwork Mon Sep 21 20:50:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257155 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 183BFC4363C for ; Mon, 21 Sep 2020 20:54:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DB07A23A58 for ; Mon, 21 Sep 2020 20:54:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721649; bh=mISvjVWy/3PrX04p7AO5hezHxm60gJxtzy2OAVHXCcI=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=FuGD5GDD9/lfzWBDqmv2xr7HwaGK4FfOJeOxjD4p4W+p64MiNpI2G9qnpg3gzHdNL dsSzZmD0dEt6MXutKfEyerJoM1oGa4S5IWES26owieRUiCSuLe2Q9/mnBfpD176s3z PYIqD7PndWU0zStZ1AR8ji3CHV+QKT9C4uvLYAXQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728307AbgIUUyJ (ORCPT ); Mon, 21 Sep 2020 16:54:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:60494 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727807AbgIUUyJ (ORCPT ); Mon, 21 Sep 2020 16:54:09 -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 2932823A33; Mon, 21 Sep 2020 20:54:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721648; bh=mISvjVWy/3PrX04p7AO5hezHxm60gJxtzy2OAVHXCcI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sAIk2m2MayapfJl3e4EzXanAlvMXQQ1Dk41Hbq8ZXTwKdF0jFpZi7ETJoxgVRbMAG 4okFlDrwAq3j5FwySK1rzFKk/wSbaRVbWV/RNTq5fVSL9IwlXNoWfke4owSibSxJyW 6dDUpuw4Fj8+PuapiM1BLIuuCLr4AtGO/sq+MXUk= 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 37/42] mfd: tps80031: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:50:11 +0200 Message-Id: <20200921205016.20461-37-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-samsung-soc@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/tps80031.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/tps80031.c b/drivers/mfd/tps80031.c index 907452b86e32..c8ea8fbae281 100644 --- a/drivers/mfd/tps80031.c +++ b/drivers/mfd/tps80031.c @@ -488,7 +488,7 @@ static int tps80031_probe(struct i2c_client *client, tps80031_init_ext_control(tps80031, pdata); - ret = mfd_add_devices(tps80031->dev, -1, + ret = mfd_add_devices(tps80031->dev, PLATFORM_DEVID_NONE, tps80031_cell, ARRAY_SIZE(tps80031_cell), NULL, 0, regmap_irq_get_domain(tps80031->irq_data)); From patchwork Mon Sep 21 20:50:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257154 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A60D8C4363C for ; Mon, 21 Sep 2020 20:54:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6D99A23A5B for ; Mon, 21 Sep 2020 20:54:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721663; bh=qkY9nerV/zBZAaqQ9Kp4zfQVQqMDDSlJ+ScIovfsCTA=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=ouiv/+lTNodMYyIV4is5NJcacsLL6u8eVkVaHm9RROxqjXW+YWvQSy/nCaZAao833 DdVdy3pabzvQYtEvORXdFm2Jca2G9ONUKMQuut5cU1N5CQWo7/sgMQ77VY4lYhi+MM McwhBpGE/47zBHDXLViK+0fIin0uAScKkztH6hmI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728341AbgIUUyX (ORCPT ); Mon, 21 Sep 2020 16:54:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:60778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726727AbgIUUyW (ORCPT ); Mon, 21 Sep 2020 16:54:22 -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 C579323A58; Mon, 21 Sep 2020 20:54:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721662; bh=qkY9nerV/zBZAaqQ9Kp4zfQVQqMDDSlJ+ScIovfsCTA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=b1oRNhPsy7yuZYKs3yURLkZfFBId2wTilCqKQk/MgnVQ7PhnFl/bZ6sUI3etBgDRI N8RAQxSH2LlHFaTSmbSUL3wxA5WSWUiggUxvzayWNL6vUiHKcIQ7TN4vUEkioGNZqR StuIXVjxTjTn1HEAf1I2JRgulUDsNRVeU1m1E6Rg= 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 39/42] mfd: vx855: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:50:13 +0200 Message-Id: <20200921205016.20461-39-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-samsung-soc@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/vx855.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/vx855.c b/drivers/mfd/vx855.c index 985f81c1739c..a53fb4c1ebdb 100644 --- a/drivers/mfd/vx855.c +++ b/drivers/mfd/vx855.c @@ -86,8 +86,8 @@ static int vx855_probe(struct pci_dev *pdev, vx855_gpio_resources[1].start = gpio_io_offset + VX855_PMIO_R_GPO; vx855_gpio_resources[1].end = vx855_gpio_resources[1].start + 3; - ret = mfd_add_devices(&pdev->dev, -1, vx855_cells, ARRAY_SIZE(vx855_cells), - NULL, 0, NULL); + ret = mfd_add_devices(&pdev->dev, PLATFORM_DEVID_NONE, vx855_cells, + ARRAY_SIZE(vx855_cells), NULL, 0, NULL); /* we always return -ENODEV here in order to enable other * drivers like old, not-yet-platform_device ported i2c-viapro */ From patchwork Mon Sep 21 20:50:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 257153 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CADDDC4363C for ; Mon, 21 Sep 2020 20:54:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9218A23A60 for ; Mon, 21 Sep 2020 20:54:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721680; bh=F6cOtWeGn0mxayABknOKeGdwp5N8qh+emK6KTJA1ZSE=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=HHW/feLujX11Nh4lL4qHc1XI1QriUG4C5M+vwPlXP715z4lcW2Y9oYDck+FvOu0FQ sLggDEJJoJlEkrGggYBH7AmuzpLHkHQU7GzDnVzar+XFqRWjOtks2Cf1WYgzYnC/bC QnfGHxnz49AYghJj423U8ZwqHyEgKBVycZytsnZ4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727847AbgIUUyh (ORCPT ); Mon, 21 Sep 2020 16:54:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:32768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726492AbgIUUyd (ORCPT ); Mon, 21 Sep 2020 16:54:33 -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 2E17423A59; Mon, 21 Sep 2020 20:54:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600721673; bh=F6cOtWeGn0mxayABknOKeGdwp5N8qh+emK6KTJA1ZSE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ydaBtJcuMZ/qOVb+Af7D+CiD0bOmctQ01XRCj4XsOvNoythCcJ9Pu2S+e300mDVqP F9rzp9au851T2DC3sbvtRn/QeHy3dHfJ9a0mqWMx1DNAxrwj4ZhdSXWYHMR6FsZCjk v2VfL7f2DWubt8PdtRPwTF3a27xwbrS14gAAIR3k= 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 41/42] mfd: wm8400: use PLATFORM_DEVID_NONE Date: Mon, 21 Sep 2020 22:50:15 +0200 Message-Id: <20200921205016.20461-41-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-samsung-soc@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/wm8400-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/wm8400-core.c b/drivers/mfd/wm8400-core.c index 0fe32a05421b..9efca6f3fbb2 100644 --- a/drivers/mfd/wm8400-core.c +++ b/drivers/mfd/wm8400-core.c @@ -38,7 +38,8 @@ static int wm8400_register_codec(struct wm8400 *wm8400) .pdata_size = sizeof(*wm8400), }; - return devm_mfd_add_devices(wm8400->dev, -1, &cell, 1, NULL, 0, NULL); + return devm_mfd_add_devices(wm8400->dev, PLATFORM_DEVID_NONE, &cell, 1, + NULL, 0, NULL); } /*