From patchwork Wed Oct 28 22:29:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 311079 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=-13.1 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 1A856C56202 for ; Wed, 28 Oct 2020 22:30:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B41402071A for ; Wed, 28 Oct 2020 22:30:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924225; bh=GBQ0jA1UbDnOOxIlEwQgVuqIYDKm0O9dv+Q1uOL6pdA=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=dtKH+XzqrI0nPRiWjlwEKXUGqchz+TYHWSPPEGYRYpLVyi5p4tF5O9HNlFGOSGwfN Nl/q1JoX0TDcomzZ+csAtQ0hARo40SbJkL3rNf1eWwKx5yaDsz1ouVb10FJLMc3NOp Qv4I0lpr4iEPA9aBBfxm3L7+PNpXdFktJr6+s+qg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387688AbgJ1WaZ (ORCPT ); Wed, 28 Oct 2020 18:30:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:43538 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387665AbgJ1WaY (ORCPT ); Wed, 28 Oct 2020 18:30:24 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 BC70720720; Wed, 28 Oct 2020 22:30:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924223; bh=GBQ0jA1UbDnOOxIlEwQgVuqIYDKm0O9dv+Q1uOL6pdA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tIn300E8Rzj6BZFs3bCXHp75IHLpBjGoOYIqtoovMUMHGn0FHLBGyVHUD48m7tUDX /Za588QEIRJrpHNilXkNTADwp8hua11g9jS+fzjo9eQnezVpQrclTURxm+3+eL2hL1 5nG6mYSYxD3yprPQXPjmtMWOFeYbRLZIfCcgC/pY= 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 , 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: [RESEND PATCH 02/42] mfd: as3711: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:29 +0100 Message-Id: <20201028223009.369824-2-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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/as3711.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/as3711.c b/drivers/mfd/as3711.c index 3adaec6c37df..5933f322ad52 100644 --- a/drivers/mfd/as3711.c +++ b/drivers/mfd/as3711.c @@ -184,8 +184,9 @@ static int as3711_i2c_probe(struct i2c_client *client, as3711_subdevs[AS3711_BACKLIGHT].pdata_size = 0; } - ret = devm_mfd_add_devices(as3711->dev, -1, as3711_subdevs, - ARRAY_SIZE(as3711_subdevs), NULL, 0, NULL); + ret = devm_mfd_add_devices(as3711->dev, PLATFORM_DEVID_NONE, + as3711_subdevs, ARRAY_SIZE(as3711_subdevs), + NULL, 0, NULL); if (ret < 0) dev_err(&client->dev, "add mfd devices failed: %d\n", ret); From patchwork Wed Oct 28 22:29:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 311059 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=-13.1 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 07AA4C55179 for ; Thu, 29 Oct 2020 00:32:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AD3CF2080C for ; Thu, 29 Oct 2020 00:32:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931542; bh=ntin2xDTkfek+9hEN28Uh4xls2Y0Qz++YiBXUELoDEs=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=giAuhItF00R2wNlh14w8TbqQGKnY3NkhsvGoDXnbHOIXR+pQPJU04rtl0SOE9ZTpT Z5QIOzXUJt1T69I/2uN7fBqBxVtpE1SuliUJ2PiKAnJ0dgqDfK5shJ5z0DjZVFX2FX IvEZ+wxA1FsGCLb/e7rrx6ZB+pCL1WXCjTplK1MU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728312AbgJ2AcS (ORCPT ); Wed, 28 Oct 2020 20:32:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:43648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387665AbgJ1Wa3 (ORCPT ); Wed, 28 Oct 2020 18:30:29 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 D9BF320725; Wed, 28 Oct 2020 22:30:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924228; bh=ntin2xDTkfek+9hEN28Uh4xls2Y0Qz++YiBXUELoDEs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=0V1FBsHK+nvjLRp126AH3+i2dyJb/rAa8ElL1i8ATwDXGztdqKPjBs3lYRwp9JVfw piMxGGjfS11IlO3hM6zir4kgIQ3Wv5pLJCJFuRpSrXHXBUqFgXpmEPh1evvVnKPopm nLImMBG8xwgdlnA2Ky31SUWgBqHQS0kH506ueuMA= 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 , 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: [RESEND PATCH 03/42] mfd: as3722: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:30 +0100 Message-Id: <20201028223009.369824-3-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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 Wed Oct 28 22:29:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 311060 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=-13.1 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,URIBL_BLOCKED,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 BA4C6C4363A for ; Thu, 29 Oct 2020 00:32:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6BD8F20829 for ; Thu, 29 Oct 2020 00:32:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931532; bh=0ZjT6w62frwssv+4Ks9l2/OnlDfcFnkYb7WrZ7cRmdw=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=qy7SpefhwTFB8eqX83Y+kwu6Rdn8phwJbcYcvgeWc3apIG6j7m4h1NlFdP+pXs+BF axO+LAzcK+b2d5ofg1xqUqETnWyRubcCTAzigBf/Y3GNkBLs+fKco44OnIVAysfs/H +ImiLTT+XGpKvUGDH0EetE8RrjIgWbsAeAlBg0vI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387736AbgJ1Wai (ORCPT ); Wed, 28 Oct 2020 18:30:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:43790 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732937AbgJ1Wae (ORCPT ); Wed, 28 Oct 2020 18:30:34 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 187AF20714; Wed, 28 Oct 2020 22:30:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924233; bh=0ZjT6w62frwssv+4Ks9l2/OnlDfcFnkYb7WrZ7cRmdw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gdXf2TRB2cFgLK3RjJRUXTsicinW2NjNQp8VYMED099C67W/RHpcOER7hNp/CKizU C5qhDjS5W8MPibbk14g+qhxWMDKRSjtEKSuA6Ut9c6h8RRHouhmDCyM831A+UXCKGJ zpTBYP/asH7yg3E01pl3AOfLF/ckUAJS4noL6KzA= 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 , 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: [RESEND PATCH 04/42] mfd: atmel-hlcdc: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:31 +0100 Message-Id: <20201028223009.369824-4-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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: Alexandre Belloni --- drivers/mfd/atmel-hlcdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/atmel-hlcdc.c b/drivers/mfd/atmel-hlcdc.c index 3c2414ba4b01..8ba13bc6fcf8 100644 --- a/drivers/mfd/atmel-hlcdc.c +++ b/drivers/mfd/atmel-hlcdc.c @@ -129,7 +129,7 @@ static int atmel_hlcdc_probe(struct platform_device *pdev) dev_set_drvdata(dev, hlcdc); - return devm_mfd_add_devices(dev, -1, atmel_hlcdc_cells, + return devm_mfd_add_devices(dev, PLATFORM_DEVID_NONE, atmel_hlcdc_cells, ARRAY_SIZE(atmel_hlcdc_cells), NULL, 0, NULL); } From patchwork Wed Oct 28 22:29:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 311078 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=-13.1 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,URIBL_BLOCKED,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 3A3A4C388F7 for ; Wed, 28 Oct 2020 22:30:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D9CE92072C for ; Wed, 28 Oct 2020 22:30:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924250; bh=NcuGCp7psdo27lUEMs8BF/KiqmT2aaxB0ULJR4v6e7o=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=KmmmseiUsNcES74MhxpYP/leHdfgi8G7PWT9GBsirHc4kvhlfEmcP4WvGLMN4MbmQ LSGO5E6PrdlM7zsLXTzfJIlpQc8Rvr9u5AeFnJnwPGuQJfMf4j898WC/RAnrD8P+C6 61ItToryFMA8KyoyjEOCO9cXtr4DTKO7BXaOMvgk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387783AbgJ1Wat (ORCPT ); Wed, 28 Oct 2020 18:30:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:44054 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387770AbgJ1Wap (ORCPT ); Wed, 28 Oct 2020 18:30:45 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 9752B2071A; Wed, 28 Oct 2020 22:30:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924244; bh=NcuGCp7psdo27lUEMs8BF/KiqmT2aaxB0ULJR4v6e7o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gPmiBVFZkjM8/PRhoi+g0DOY/qYr+lKQVs37NqNEDE/hbPWWta4wjmSb3gsXzFKFC Kor22J9trrqBXevjrtm1BPwjgzj1KmmuLzsC4t2w9Xu8MG1lhMb4iJMdMLZR/OYeiL 7WwVBUsD2RSyKWZ5Mroke4aItrtxSQbjSHPGYuXw= 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 , 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: [RESEND PATCH 06/42] mfd: bcm2835: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:33 +0100 Message-Id: <20201028223009.369824-6-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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 Reviewed-by: Nicolas Saenz Julienne --- drivers/mfd/bcm2835-pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/bcm2835-pm.c b/drivers/mfd/bcm2835-pm.c index 42fe67f1538e..a76014512bde 100644 --- a/drivers/mfd/bcm2835-pm.c +++ b/drivers/mfd/bcm2835-pm.c @@ -44,7 +44,7 @@ static int bcm2835_pm_probe(struct platform_device *pdev) if (IS_ERR(pm->base)) return PTR_ERR(pm->base); - ret = devm_mfd_add_devices(dev, -1, + ret = devm_mfd_add_devices(dev, PLATFORM_DEVID_NONE, bcm2835_pm_devs, ARRAY_SIZE(bcm2835_pm_devs), NULL, 0, NULL); if (ret) @@ -60,7 +60,7 @@ static int bcm2835_pm_probe(struct platform_device *pdev) if (IS_ERR(pm->asb)) return PTR_ERR(pm->asb); - ret = devm_mfd_add_devices(dev, -1, + ret = devm_mfd_add_devices(dev, PLATFORM_DEVID_NONE, bcm2835_power_devs, ARRAY_SIZE(bcm2835_power_devs), NULL, 0, NULL); From patchwork Wed Oct 28 22:29: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: 311061 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=-13.1 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 E9BFCC56202 for ; Thu, 29 Oct 2020 00:31:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AF05D2080C for ; Thu, 29 Oct 2020 00:31:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931518; bh=VCI2z1U690+gy2/g7ipJ4jAAws2M6QcgNV8q6Id1J30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=DYCble369ApTVvYVoUgoyiLqXmegvnVxgygWAHbslUdBOICJ45668PSoeG957wr26 ozPhSwEydLpnagEdNXdXm3Ug5Xy0o+sgswJOHDNt+uwSaHo0tnqRSfzTAAu+0sab4D yxRDoIXTdcObP8lH14BrkSsDUavRl/4n/yr6Rb70= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387591AbgJ1WbI (ORCPT ); Wed, 28 Oct 2020 18:31:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:44588 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387814AbgJ1WbG (ORCPT ); Wed, 28 Oct 2020 18:31:06 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 1686020714; Wed, 28 Oct 2020 22:31:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924265; bh=VCI2z1U690+gy2/g7ipJ4jAAws2M6QcgNV8q6Id1J30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=x1MZwqSn02evnnoX6GtFpoEy/Tk1Vng+ATRhLm/W1RBVO9FjvZ+1qyawFdz8Rh5En JUw6sMFTVAc3gURhIT+kSv1tva3a9A2pz0VmjEPyJ3pdRySWfMhlmm8eKleBmna/8R coqu5GgDD4cADMwtQLCOA9mpm4/zrOICeXJgAag0= 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 , 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 Cc: Andy Shevchenko Subject: [RESEND PATCH 10/42] mfd: intel_msic: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:37 +0100 Message-Id: <20201028223009.369824-10-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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_msic.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/intel_msic.c b/drivers/mfd/intel_msic.c index bb24c2a07900..e9944a81dc44 100644 --- a/drivers/mfd/intel_msic.c +++ b/drivers/mfd/intel_msic.c @@ -317,8 +317,9 @@ static int intel_msic_init_devices(struct intel_msic *msic) if (!pdata->irq[i]) continue; - ret = mfd_add_devices(&pdev->dev, -1, &msic_devs[i], 1, NULL, - pdata->irq[i], NULL); + ret = mfd_add_devices(&pdev->dev, PLATFORM_DEVID_NONE, + &msic_devs[i], 1, NULL, pdata->irq[i], + NULL); if (ret) goto fail; } From patchwork Wed Oct 28 22:29:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 311077 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=-13.1 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 B21C0C388F7 for ; Wed, 28 Oct 2020 22:31:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6A6BB20720 for ; Wed, 28 Oct 2020 22:31:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924277; bh=14PRgQ9ja2vhKOIYad9z8Ly4hH8wA/Mlt1rDuUMOPjg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=Bqjzb8C2DPNHjy4Lo/HhFGDRLd7z/4KE5OdaU1eS263XwTnsjM1ImnoCCNd9k+K0G jJYEH/8IHqoTKXoov3ugjSQLtbq433q/u4df9ltXFzdJ25KY/Os+Ke7w6jkmom+JCL 82rq7t9n3lPHGC9sfZUMOSoEpxMudjbo8ci0L/r0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387854AbgJ1WbN (ORCPT ); Wed, 28 Oct 2020 18:31:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:44758 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387852AbgJ1WbL (ORCPT ); Wed, 28 Oct 2020 18:31:11 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 5B49220720; Wed, 28 Oct 2020 22:31:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924271; bh=14PRgQ9ja2vhKOIYad9z8Ly4hH8wA/Mlt1rDuUMOPjg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j8/npGYSUb0iY//8SVCqzASzEAnBs8i2WfbO9p4J7yAEcKGRLkf5RFlyZQdSNADtc VAE5arKxMxraOBA+JIaJ9x2E5q74ArET0IsrXiz64ZxLOKn10Tdlq8/tRe8ixcNEqr UEzDIRe7UEMuvoIFpCBCb6o/LjrmymZWKsXgD3G8= 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 , 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 Cc: Andy Shevchenko Subject: [RESEND PATCH 11/42] mfd: intel_soc_pmic: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:38 +0100 Message-Id: <20201028223009.369824-11-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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 Wed Oct 28 22:29: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: 311062 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=-13.1 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 998A3C56202 for ; Thu, 29 Oct 2020 00:31:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4EA5C2080C for ; Thu, 29 Oct 2020 00:31:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931514; bh=AZNzKh2ohpoO/6BLcNnlJmCZPDIsCIceLmT2SxtgDgQ=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=rUjd5bXxLEe2mb17yK9olt1wgBAbALmxe37zKWR+S+pajjqUBZHarzDA4VIstIuES t2YqB8WLTk6FimB8TQFPCtRSrf23Tzr4MmemH62GiTMAPSBK+MSXyZk+NlK+DCvvcG wR2DhKXuRhl5B7HV5mnxPElkPBxpS4Ig/WsANVmc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728494AbgJ2Abx (ORCPT ); Wed, 28 Oct 2020 20:31:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:45166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387875AbgJ1Wb2 (ORCPT ); Wed, 28 Oct 2020 18:31:28 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 49D4A2076C; Wed, 28 Oct 2020 22:31:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924287; bh=AZNzKh2ohpoO/6BLcNnlJmCZPDIsCIceLmT2SxtgDgQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jwYZkbV3CnGTLtMW6jM8EzQr6Qj8mvQSGelKKJOQ6/JJLjyHPLFvksVH5Q/c47hI5 e23/aMDvQ62OqwUXyx2dh0RX+dSrT1U6F2lrNLs51l1EXM5DMu2JO1E0fmXIut+AzP sX4OcswHO/H7yWr6qdq6KhZheEU+6oOLbKLuQ2ME= 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 , 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: [RESEND PATCH 14/42] mfd: lp3943: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:41 +0100 Message-Id: <20201028223009.369824-14-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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/lp3943.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/lp3943.c b/drivers/mfd/lp3943.c index 13cb89be3d66..3e5d7336f59b 100644 --- a/drivers/mfd/lp3943.c +++ b/drivers/mfd/lp3943.c @@ -120,9 +120,8 @@ static int lp3943_probe(struct i2c_client *cl, const struct i2c_device_id *id) lp3943->mux_cfg = lp3943_mux_cfg; i2c_set_clientdata(cl, lp3943); - return devm_mfd_add_devices(dev, -1, lp3943_devs, - ARRAY_SIZE(lp3943_devs), - NULL, 0, NULL); + return devm_mfd_add_devices(dev, PLATFORM_DEVID_NONE, lp3943_devs, + ARRAY_SIZE(lp3943_devs), NULL, 0, NULL); } static const struct i2c_device_id lp3943_ids[] = { From patchwork Wed Oct 28 22:29:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 311076 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=-13.1 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,URIBL_BLOCKED,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 74777C4363A for ; Wed, 28 Oct 2020 22:31:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 25CDA20720 for ; Wed, 28 Oct 2020 22:31:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924296; bh=bAzQYXPPSF1YQMJRkip+nRq3EjwY9NYLDzxEihLOUV8=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=IdaXlcqilS6umfABEPnRK9jPuczzlws3LePrTJs9MkK6VQ6q2st93xmlcrIQCrDZZ uX101HH5lDo/c61oe1ow5eiE1JUm2xRUwcmDE1YCzIH2OCCPUCgJ+u/AjCjzb5opuZ mHeM+kcF/Mp5gQ7wOt7subtMPcJV3xeidZBuY7Qk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387922AbgJ1Wbe (ORCPT ); Wed, 28 Oct 2020 18:31:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:45262 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387889AbgJ1Wbd (ORCPT ); Wed, 28 Oct 2020 18:31:33 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 BDE8120724; Wed, 28 Oct 2020 22:31:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924292; bh=bAzQYXPPSF1YQMJRkip+nRq3EjwY9NYLDzxEihLOUV8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kkOBr0OEQzTTynRTwofE/ZNcVU1OacpfiI1wCSVQ+8fE69vj/75t8I/hzgfm7kfGV htL50WNdXKcBm0rrJdsxT0yZ7GlBF/v/E14pecIUn4FusFvE//EJT7cUBVf087rV1c Ru9UUPGPEbTO9D81X85WiWiknXGtGILeER1jSIPA= 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 , 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: [RESEND PATCH 15/42] mfd: max14577: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:42 +0100 Message-Id: <20201028223009.369824-15-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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/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 Wed Oct 28 22:29: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: 311063 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=-13.1 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,URIBL_BLOCKED,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 937ECC55179 for ; Thu, 29 Oct 2020 00:31:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 409E320838 for ; Thu, 29 Oct 2020 00:31:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931490; bh=Br7/A1aJF5ODiCg0FsDq01zwMxR88GgRHrmoHNXqQC0=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=KjycJwVEytr98OQiiOMTwMg3UXjnPIXXOxIbJh3lkMoETnHDXEbv0vcJ774CoSuoG smD6MBue7WVk8L/xNwOh/GWacpmWAoeSGEHDiI333irRyinkwZRxerM2NQbwtquczK aWZHjRRMFI2be2xOhDM3ARR14OlohjoEhLgoRUgk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387900AbgJ2Ab0 (ORCPT ); Wed, 28 Oct 2020 20:31:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:45398 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387935AbgJ1Wbi (ORCPT ); Wed, 28 Oct 2020 18:31:38 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 ECC382072C; Wed, 28 Oct 2020 22:31:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924297; bh=Br7/A1aJF5ODiCg0FsDq01zwMxR88GgRHrmoHNXqQC0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SaRkreUHbgK/buOR5NL6D7XZipzhovGbhAS3L6jxXD/Eintbf/pQMmgee5jFimnb5 J2vvEeFq52K4buneR3ZiHqha4N8E/q5qnAFHIRZ2yBmeaOdRwOS1IY0CPSHPrUbmYc EppNgifIdTC05Y2PQN1Qjl1nBzocM/FxUdG7Ee2s= 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 , 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: [RESEND PATCH 16/42] mfd: max77686: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:43 +0100 Message-Id: <20201028223009.369824-16-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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/max77686.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/max77686.c b/drivers/mfd/max77686.c index 71faf503844b..1f26d00fdd37 100644 --- a/drivers/mfd/max77686.c +++ b/drivers/mfd/max77686.c @@ -217,8 +217,8 @@ static int max77686_i2c_probe(struct i2c_client *i2c) return ret; } - ret = devm_mfd_add_devices(max77686->dev, -1, cells, n_devs, NULL, - 0, NULL); + ret = devm_mfd_add_devices(max77686->dev, PLATFORM_DEVID_NONE, cells, + n_devs, NULL, 0, NULL); if (ret < 0) { dev_err(&i2c->dev, "failed to add MFD devices: %d\n", ret); return ret; From patchwork Wed Oct 28 22:29:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 311072 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=-13.1 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 4EEF5C388F7 for ; Wed, 28 Oct 2020 22:33:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F142020714 for ; Wed, 28 Oct 2020 22:33:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924385; bh=6CTWCGbyQAtx0G1AXAZ/IGJa/HD7vtf24bL9BqFzf5M=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=deYV6IeUBI6J4GaYpLDkZovWER0RydfxFswtfd8F6XHZPQ+3zD13BvKOwnIs2fNwP AdktYU13WXJNJb37C2Nvtzh76kiDssLRjA3dxPTMnbK+eR/LI+61/kpFwmWuAXmlVj vKG8l9vZ23jdxZmIW/ZD0EyiJk0UP2pUEfSQoCaM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387942AbgJ1Wby (ORCPT ); Wed, 28 Oct 2020 18:31:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:45768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387981AbgJ1Wbx (ORCPT ); Wed, 28 Oct 2020 18:31:53 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 8926E20714; Wed, 28 Oct 2020 22:31:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924313; bh=6CTWCGbyQAtx0G1AXAZ/IGJa/HD7vtf24bL9BqFzf5M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FQI65c83B09nSK9lqYtLO1jvTzaMqwkddOL3+HCtS6EWQxWU0NW7LI3wQjsYVn4aQ tRpMzjyUEDjWBwqgtuz0LgjqWKX0zzJxihHLOKL1BrNspRXDUviT25PPMNFiZshDkP kFnJT1sV0jL3yhDzPOCcHQGQTlTsjeltTbF6G1D8= 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 , 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: [RESEND PATCH 19/42] mfd: max8907: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:46 +0100 Message-Id: <20201028223009.369824-19-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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 Wed Oct 28 22:29:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 311073 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=-13.1 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 A17ABC5DF9D for ; Wed, 28 Oct 2020 22:33:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 522DB2072E for ; Wed, 28 Oct 2020 22:33:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924384; bh=cAhBoKIoMZagz11woOBG7hID+3n5gMfP7bvBT6bjHOU=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=p1DXBdfc+FadBQA+fNAKbTlpxH/XyVXnr72hXgyVuIPD0E4nBX0WSCXgR5PhPpXoa ySVi0wATkBy6EoP7WKEivS7MOIc69fnkkfGgf2qqsTc3D6IX2YmYZmGgMp5TUmCLp1 3kjbP3TimpTagZJLFCVROIjOylE9r7JklHj+/p3s= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388027AbgJ1WcF (ORCPT ); Wed, 28 Oct 2020 18:32:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:45940 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387996AbgJ1WcE (ORCPT ); Wed, 28 Oct 2020 18:32:04 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 EC4CE2072C; Wed, 28 Oct 2020 22:31:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924323; bh=cAhBoKIoMZagz11woOBG7hID+3n5gMfP7bvBT6bjHOU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qUtWH3KhwpRqhh0cUxMilD4iHwAJfMKDZXislTOoVIc/HhTB58s2RrGJxNAgxK6H+ 8AH0HtvMWAIhlaXpyNsR+HQQx5A/WtfYr/bj7E3qtC386TKT+IN1v18Ndy3dYraEN0 +cH1UepYTNk3lPE2WDzwI6UliuJ+smXFfo4TOOwA= 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 , 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: [RESEND PATCH 21/42] mfd: max8998: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:48 +0100 Message-Id: <20201028223009.369824-21-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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 Wed Oct 28 22:29: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: 311075 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=-13.1 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 78878C4363A for ; Wed, 28 Oct 2020 22:32:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2077620735 for ; Wed, 28 Oct 2020 22:32:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924334; bh=wz+IKzfwHxh53st+TGC3U3wlSd7RW2J6DpRk3hadvzE=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=c1yPe0ShBakr/laqa6hh3SgKNUOF7oVjKyheSNAG3ytKNT5iGqWbwBlpjGCPyqoGF KNQo1VL30PUJEIEWDFZmUxen30vUkbZzTGzSn6HU7lCfk+TSMq3OeNpgn0ssDHUgdD zB/m9tEihX3X/J9Yay+BeA2t5RIx969Ksx7JJ+FQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388050AbgJ1WcN (ORCPT ); Wed, 28 Oct 2020 18:32:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:46080 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388038AbgJ1WcJ (ORCPT ); Wed, 28 Oct 2020 18:32:09 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 47C772070E; Wed, 28 Oct 2020 22:32:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924329; bh=wz+IKzfwHxh53st+TGC3U3wlSd7RW2J6DpRk3hadvzE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gficQOwl8bWpNHOAa04VTa3/q84oN4MX0Q2adCoSERKiC8kiXbMcGgfOp5M9SVxs+ sBRfdTa6ZW9to+Nbjwez+tDK0G0G24gkWKHUZfHjt32VFQ3NIhIZ0c0ptYEMMK1VYQ +s7arSmHjRKdgw7brIfoKTRqPxXjnOxTcX3/Dsu4= 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 , 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: [RESEND PATCH 22/42] mfd: mc13xxx: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:49 +0100 Message-Id: <20201028223009.369824-22-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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/mc13xxx-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c index 1abe7432aad8..659e72cdac3d 100644 --- a/drivers/mfd/mc13xxx-core.c +++ b/drivers/mfd/mc13xxx-core.c @@ -379,8 +379,8 @@ static int mc13xxx_add_subdevice_pdata(struct mc13xxx *mc13xxx, if (!cell.name) return -ENOMEM; - return mfd_add_devices(mc13xxx->dev, -1, &cell, 1, NULL, 0, - regmap_irq_get_domain(mc13xxx->irq_data)); + return mfd_add_devices(mc13xxx->dev, PLATFORM_DEVID_NONE, &cell, 1, NULL, + 0, regmap_irq_get_domain(mc13xxx->irq_data)); } static int mc13xxx_add_subdevice(struct mc13xxx *mc13xxx, const char *format) From patchwork Wed Oct 28 22:29: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: 311071 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=-13.1 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 B79C4C4363A for ; Wed, 28 Oct 2020 22:34:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4CF6520714 for ; Wed, 28 Oct 2020 22:34:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924483; bh=+aSXNXfCc/m5xNWjoqmDFdsnMzhRi0as7SEX/d+7cvc=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=vJxdrG6UZ6pJ04D8a341WGgVyYmDabFNNw5k1yxvp8AgdCiYWUosj9TTfLNRgaj3C 0NeB0GLHOhUAnmEHzBA6dWY92Npsy86E2Jo2w5vF0cKY2wEchphUwbUu3z/rWKE7St rorCYE7w4hsaSFK9IolmkJ5bLKqLBNJJF4yxHNP0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388113AbgJ1Wci (ORCPT ); Wed, 28 Oct 2020 18:32:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:46546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388088AbgJ1Wcb (ORCPT ); Wed, 28 Oct 2020 18:32:31 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 A590620724; Wed, 28 Oct 2020 22:32:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924351; bh=+aSXNXfCc/m5xNWjoqmDFdsnMzhRi0as7SEX/d+7cvc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hIjd+mT/djyP4w3jMAANbepsIFlWyN9SDdA6iwlhK7l4j8Odei2Tt6HYAooUHEpKv IS81AISzxKAjjCZuyb4ihSe9wkd3WD1nPTWqigqeL2XCfDA4ZxaEBI8tyAHNKKBpSc evDKtXwuPcUjuKjytcR3F8nOcPNQQQnaFhPFCrdI= 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 , 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: [RESEND PATCH 26/42] mfd: rt5033: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:53 +0100 Message-Id: <20201028223009.369824-26-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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/rt5033.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/rt5033.c b/drivers/mfd/rt5033.c index 48381d9bf740..8ec245cc4393 100644 --- a/drivers/mfd/rt5033.c +++ b/drivers/mfd/rt5033.c @@ -94,7 +94,7 @@ static int rt5033_i2c_probe(struct i2c_client *i2c, return ret; } - ret = devm_mfd_add_devices(rt5033->dev, -1, rt5033_devs, + ret = devm_mfd_add_devices(rt5033->dev, PLATFORM_DEVID_NONE, rt5033_devs, ARRAY_SIZE(rt5033_devs), NULL, 0, regmap_irq_get_domain(rt5033->irq_data)); if (ret < 0) { From patchwork Wed Oct 28 22:29:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 311074 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=-13.1 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 096DEC55179 for ; Wed, 28 Oct 2020 22:33:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A70AC20728 for ; Wed, 28 Oct 2020 22:33:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924383; bh=zdRGMRVPKz9yuSK0z14f5hzpN6zstW986VAYTBfkvEs=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=Pcb7DvKLw/lTT2a+ArHTLCFC9Llb01ENr6Fmamje/KxSLxxERZZrGQin4or62nfRq WIEAEIF3JqmwWKwLfKKqz+CVETM5B0j2vZC1VZM+4J3Cq5frRrewML9yosjIdwCd8w aZS6qn5WBCI7puCbffkvm2RNlu9i/2Sx9P4/MlyM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388118AbgJ1Wci (ORCPT ); Wed, 28 Oct 2020 18:32:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:46660 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388104AbgJ1Wch (ORCPT ); Wed, 28 Oct 2020 18:32:37 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 35BF720720; Wed, 28 Oct 2020 22:32:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924357; bh=zdRGMRVPKz9yuSK0z14f5hzpN6zstW986VAYTBfkvEs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RfZYkWDkx++Ul+9GNRrNme4cHkWmu88+PBhjR2mrCidIpiD0LwtSa/2N18C9UfXX6 NCz/LW2EmpBMI0T0ekS/YcnEQYrYzOnG4PbGoWETyKATaz1gqriHH2o4Kt/OLSl4Uc sXDDgGBacz+5GObB5a3o9nl+zzXNdYqXUJkErexc= 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 , 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: [RESEND PATCH 27/42] mfd: sec: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:54 +0100 Message-Id: <20201028223009.369824-27-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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 95473ff9bb4b..7bfab43b455e 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 Wed Oct 28 22:29: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: 311064 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=-13.1 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 92D25C56202 for ; Thu, 29 Oct 2020 00:31:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3E9162080C for ; Thu, 29 Oct 2020 00:31:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931474; bh=4HV55O+DO29mRKeDsXajAt3ZjQOUrw12UsNGy0abuag=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=B3kAo+C8vaL8Du0lFImfbIOXPlsgYKxIMQtov2rKg+OLq2IzZ185ptBaS2YLfrDVc OA+zCrYsApUUODMpBC4HwsnCQBvKoddvzcGjMDTIMQ0toEPoN9fYnXGk7JXjtqw0MX jB9mejzqhvcwqrB8RGSArZgIkJBHY8jN7xP5lxTg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387455AbgJ1WdD (ORCPT ); Wed, 28 Oct 2020 18:33:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:46728 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388129AbgJ1Wcn (ORCPT ); Wed, 28 Oct 2020 18:32:43 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 84E4B2070E; Wed, 28 Oct 2020 22:32:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924362; bh=4HV55O+DO29mRKeDsXajAt3ZjQOUrw12UsNGy0abuag=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bWqMQt/qfyMVI5zKac2mjgFqVmWWlWc2l0bsovNlo7T7zlJtYciG2OFUzqNA5+dKn tUHM4tReI2KE2LGfz6nmOl1jzmc3elFIg2XeYH51fJFuEQSxX8qcwRjEBG0s55IGhE vZYO1+nWljIFF72gECr1JJxn+xBCjfYHmLCv6QsE= 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 , 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: [RESEND PATCH 28/42] mfd: sky81452: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:55 +0100 Message-Id: <20201028223009.369824-28-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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/sky81452.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/sky81452.c b/drivers/mfd/sky81452.c index 3ad35bf0c015..a45cad77b87c 100644 --- a/drivers/mfd/sky81452.c +++ b/drivers/mfd/sky81452.c @@ -51,8 +51,8 @@ static int sky81452_probe(struct i2c_client *client, cells[1].platform_data = pdata->regulator_init_data; cells[1].pdata_size = sizeof(*pdata->regulator_init_data); - ret = devm_mfd_add_devices(dev, -1, cells, ARRAY_SIZE(cells), - NULL, 0, NULL); + ret = devm_mfd_add_devices(dev, PLATFORM_DEVID_NONE, cells, + ARRAY_SIZE(cells), NULL, 0, NULL); if (ret) dev_err(dev, "failed to add child devices. err=%d\n", ret); From patchwork Wed Oct 28 22:29: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: 311070 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=-13.1 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 73C92C4363A for ; Wed, 28 Oct 2020 22:35:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2514D20714 for ; Wed, 28 Oct 2020 22:35:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924540; bh=/opRYDoUP2hkyGCV09IodIsiWsmlN0SL1QF+3h41Rxg=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=phzZ863weQ8W266Zknoh4GcL7GN6xXEUwR+pIUAkfd0GZP+0p3ht+6fqF2QeV3hWN fLn/kQlBi57k1M9lTsx578aB3doZTaCozppB/NvsZ/PwtaAgurydXos2gklvDwhKAE vz1RK0JL2HdHYiyPXf6WihMfM/R9tbryVCX6s+sg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388022AbgJ1Wep (ORCPT ); Wed, 28 Oct 2020 18:34:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:46842 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388355AbgJ1Wcy (ORCPT ); Wed, 28 Oct 2020 18:32:54 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 5668720725; Wed, 28 Oct 2020 22:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924374; bh=/opRYDoUP2hkyGCV09IodIsiWsmlN0SL1QF+3h41Rxg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HhVzhSypvTcVdlYW7mJb/nTs+cnlDhpx9f/4lKsHv4R2JCiW7xHQKXZk39ERzB8/p DwB7MRY32DiuHCEqGT8LBQ2k18rpAgAx8TC+BwK5Ciz9y+sR1l0mCWyJkqSnbHtwx3 V7/k2+yRH42jUNTIoXJQ4y2rce9kqC8gJtdhefOM= 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 , 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: [RESEND PATCH 30/42] mfd: tc3589x: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:57 +0100 Message-Id: <20201028223009.369824-30-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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/tc3589x.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/tc3589x.c b/drivers/mfd/tc3589x.c index 7882a37ffc35..22821112cc6b 100644 --- a/drivers/mfd/tc3589x.c +++ b/drivers/mfd/tc3589x.c @@ -287,7 +287,8 @@ static int tc3589x_device_init(struct tc3589x *tc3589x) unsigned int blocks = tc3589x->pdata->block; if (blocks & TC3589x_BLOCK_GPIO) { - ret = mfd_add_devices(tc3589x->dev, -1, tc3589x_dev_gpio, + ret = mfd_add_devices(tc3589x->dev, PLATFORM_DEVID_NONE, + tc3589x_dev_gpio, ARRAY_SIZE(tc3589x_dev_gpio), NULL, 0, tc3589x->domain); if (ret) { @@ -298,7 +299,8 @@ static int tc3589x_device_init(struct tc3589x *tc3589x) } if (blocks & TC3589x_BLOCK_KEYPAD) { - ret = mfd_add_devices(tc3589x->dev, -1, tc3589x_dev_keypad, + ret = mfd_add_devices(tc3589x->dev, PLATFORM_DEVID_NONE, + tc3589x_dev_keypad, ARRAY_SIZE(tc3589x_dev_keypad), NULL, 0, tc3589x->domain); if (ret) { From patchwork Wed Oct 28 22:29: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: 311065 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=-13.1 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 13C7CC55179 for ; Thu, 29 Oct 2020 00:31:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B85E7207DE for ; Thu, 29 Oct 2020 00:31:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931472; bh=AYpOYrd8NHd0IN5fv60ahZIh1mXbfbbDY1XDX8gfWo0=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=2CcJGvPezw6x+K80cBeopSbnJnrQWkIOWoK9onJg3clnoOZ6wRawd1gD79qOJb1yu OctxP3XvCmlFie8x4X1WBvujJ0K7bfwyDsoVxaMATcRg62ts1utEa/wgeWr84K+52K 8N8AB5TfFR/wQPtyieZuLFzhgoJnlQ0YUEKBLBpc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728380AbgJ2AbI (ORCPT ); Wed, 28 Oct 2020 20:31:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:47038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387996AbgJ1WdF (ORCPT ); Wed, 28 Oct 2020 18:33:05 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 DBB322070E; Wed, 28 Oct 2020 22:32:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924384; bh=AYpOYrd8NHd0IN5fv60ahZIh1mXbfbbDY1XDX8gfWo0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VLmAC1LENqLPY4aOOje9K1sNCoHsv0QmUlpq8Sb8TQ81NaelXPLNkUw9d3cv8RG2b o83DF7prTyDv7q7OLp91M7v0FZd6ReFxcOWmnt1ZYf4bBFbmYDWzm1CMLDdVWQ8+jG 38Lh8hX1AFCP20AKNJzP94CouxnolxzoFC5YnqHU= 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 , 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: [RESEND PATCH 32/42] mfd: tps6507x: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:59 +0100 Message-Id: <20201028223009.369824-32-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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/tps6507x.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/tps6507x.c b/drivers/mfd/tps6507x.c index 1f308c4e3694..15bb92ef64c7 100644 --- a/drivers/mfd/tps6507x.c +++ b/drivers/mfd/tps6507x.c @@ -100,8 +100,9 @@ static int tps6507x_i2c_probe(struct i2c_client *i2c, tps6507x->read_dev = tps6507x_i2c_read_device; tps6507x->write_dev = tps6507x_i2c_write_device; - return devm_mfd_add_devices(tps6507x->dev, -1, tps6507x_devs, - ARRAY_SIZE(tps6507x_devs), NULL, 0, NULL); + return devm_mfd_add_devices(tps6507x->dev, PLATFORM_DEVID_NONE, + tps6507x_devs, ARRAY_SIZE(tps6507x_devs), + NULL, 0, NULL); } static const struct i2c_device_id tps6507x_i2c_id[] = { From patchwork Wed Oct 28 22:30: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: 311066 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=-13.1 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 B9F10C4363A for ; Thu, 29 Oct 2020 00:30:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 655922080C for ; Thu, 29 Oct 2020 00:30:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931450; bh=e2fW9UlRkr3YVkKznCBWN2m98FPMSwPhDye4IxYMbZ4=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=ameTds8Im1y9iJ6ATUJxirTEL3VJq50y6hU0H5wUZMpeDcVHWq8vk52MEStcQy/ni rpZEl0FkdufoFPVa2xVsO3Ia9RFsexkvOni8JoO5PLO5kRj9SqlsIthpgv9W1RJbn1 LXqbdMUm5+dTVXz3ibOk16CrKCsRZYMYn2OY6gwk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727995AbgJ2Aap (ORCPT ); Wed, 28 Oct 2020 20:30:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:47216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388234AbgJ1WdP (ORCPT ); Wed, 28 Oct 2020 18:33:15 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 6ECD5206CB; Wed, 28 Oct 2020 22:33:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924395; bh=e2fW9UlRkr3YVkKznCBWN2m98FPMSwPhDye4IxYMbZ4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SM8SAIgzb2yX6pETFFvUqc8o2TG6G/X4E6YlewWnA9uyqlgbEqqNCd5Yjxfjwv91Q FHNMTx4KQXsHevt8b0wFdr8ODbh/CrNpq786UJwUu/ppayBg4L2+xDr6VR9vTUADqD OnTZcgpbbW84A+FNUk0Ac6IUWTwgSeh3+38/6Mtw= 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 , 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: [RESEND PATCH 34/42] mfd: tps65217: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:30:01 +0100 Message-Id: <20201028223009.369824-34-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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/tps65217.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/tps65217.c b/drivers/mfd/tps65217.c index 2d9c282ec917..ef941bd611d2 100644 --- a/drivers/mfd/tps65217.c +++ b/drivers/mfd/tps65217.c @@ -351,7 +351,7 @@ static int tps65217_probe(struct i2c_client *client) tps65217s[i].num_resources = 0; } - ret = devm_mfd_add_devices(tps->dev, -1, tps65217s, + ret = devm_mfd_add_devices(tps->dev, PLATFORM_DEVID_NONE, tps65217s, ARRAY_SIZE(tps65217s), NULL, 0, tps->irq_domain); if (ret < 0) { From patchwork Wed Oct 28 22:30: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: 311067 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=-13.1 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 7AC6FC55179 for ; Thu, 29 Oct 2020 00:30:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 263EE20829 for ; Thu, 29 Oct 2020 00:30:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931436; bh=6ehR7YXqa9nliZWFk/43rNiUaT0bFg1g+JVzRLztlkA=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=WQbJulMxYUS2rMOLh1QFXfhIRSJSWCWlGDpJF6SKBLqRw229+bgoTLT7QOxG1h6Bl 40VwI5xkt5R8CPzGTO8MZ+AsehHFIms8fve+OfbnuyxGwBtfnIHAddNOf1o0NdE+9E 7x7bgpOGr9yGwvtiUmptqLpfYGzfzBNu4om3xKaQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728283AbgJ2Aac (ORCPT ); Wed, 28 Oct 2020 20:30:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:47378 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388104AbgJ1Wd0 (ORCPT ); Wed, 28 Oct 2020 18:33:26 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 0C33720714; Wed, 28 Oct 2020 22:33:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924405; bh=6ehR7YXqa9nliZWFk/43rNiUaT0bFg1g+JVzRLztlkA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qm22gpyJyyHjM1UNzH7josbbWk4pdz5i1qF7ub263Zn943/EQVAXjBBAvEAC/v2g4 4X0vL95RSyHyEXP9ivvcdnZLzNNsYDwevmhYDymBwP4+nDjXjmnnM68Ipctiv9eAOL CoY3uQb8wzYGeLFmH33KdCbsNQ8aAOvtO/AwUzgA= 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 , 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: [RESEND PATCH 36/42] mfd: tps65910: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:30:03 +0100 Message-Id: <20201028223009.369824-36-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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/tps65910.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c index 11959021b50a..d332072ee9de 100644 --- a/drivers/mfd/tps65910.c +++ b/drivers/mfd/tps65910.c @@ -502,7 +502,7 @@ static int tps65910_i2c_probe(struct i2c_client *i2c, pm_power_off = tps65910_power_off; } - ret = devm_mfd_add_devices(tps65910->dev, -1, + ret = devm_mfd_add_devices(tps65910->dev, PLATFORM_DEVID_NONE, tps65910s, ARRAY_SIZE(tps65910s), NULL, 0, regmap_irq_get_domain(tps65910->irq_data)); From patchwork Wed Oct 28 22:30:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 311068 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=-13.1 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 E6F61C55179 for ; Wed, 28 Oct 2020 22:36:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9907120738 for ; Wed, 28 Oct 2020 22:36:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924607; bh=5p3nyiDcMBCIxUJoFfO1loAwC4zdnTa9lfo72yb+87s=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=a6qzHd6gAzud/rMwFQcttWVMyCToaasNQX4JdGaHj8OTJbuIZ8Cenw9W/U0epPgEa WKKXoQ2jLBI+h2CdURmiJerIQAzOmYoJ4yv3ek8e+Oi6MuszXYab/Ob/JakrXtFJOd LuiLLr5xsFiu2QxThREqFH8ZmAib942Ycqbgva/4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388367AbgJ1WgU (ORCPT ); Wed, 28 Oct 2020 18:36:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:47572 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388431AbgJ1Wdn (ORCPT ); Wed, 28 Oct 2020 18:33:43 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 8DA7B20728; Wed, 28 Oct 2020 22:33:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924422; bh=5p3nyiDcMBCIxUJoFfO1loAwC4zdnTa9lfo72yb+87s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oOZITDT9J0uxHgDbx/B8Uk1eE+Lns9GGtl4JEvqoH7aSz8I62UlSfv/4+PUfOaQ8+ aAaRCU1FitwwSSPB/SjcK9eR15lhp4URWC3+FM6aVu8flE/7wg5CMD2PDvAW0xxvYz r6wNr0zKd9lL/sHJXz4ckqEs20PYWtaJVZIapvqE= 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 , 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: [RESEND PATCH 39/42] mfd: vx855: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:30:06 +0100 Message-Id: <20201028223009.369824-39-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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 Wed Oct 28 22:30:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 311069 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=-13.1 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,URIBL_BLOCKED,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 B56ACC56202 for ; Wed, 28 Oct 2020 22:36:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5C1102072E for ; Wed, 28 Oct 2020 22:36:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924573; bh=tAc+eA+rqS8xp2/W/3QiNS5pvqKD4MUkDIEkIoRC2/4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=rd28UdV9dV4fgxsA6qo/tkHtjvPddvDV6Dr4NeAFHujkOHrUUdnQeAGT5ATKRzYts xha87DMZ+0vAa/OGUZP+b5DJkhfSKlhtkWJu+W7WUQLhk5niwtacc9/EPgATHLeHGF w94E7/pe3aeIrI/mwAuhbZuEye6v0XRfVlACCnqw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388286AbgJ1WgB (ORCPT ); Wed, 28 Oct 2020 18:36:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:47674 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388460AbgJ1Wdy (ORCPT ); Wed, 28 Oct 2020 18:33:54 -0400 Received: from kozik-lap.proceq-device.com (unknown [194.230.155.184]) (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 6B7E520725; Wed, 28 Oct 2020 22:33:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924433; bh=tAc+eA+rqS8xp2/W/3QiNS5pvqKD4MUkDIEkIoRC2/4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pqBsuCqgbiEf3WsSOkYjz65L3imY2hUfGeuvz+k3riT6Fz9UjM+KTMUQ4AhlhywUp D0uHsz4fMUeQK9X2UMUo1teYCyLAvINPyVAHwTW2smSx5sbzyAG2V97qejXip7O+hD 1+f8TjgOON/Wq73dnrObQpkBFvdhUpHCKv79tE9s= 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 , 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 Cc: Charles Keepax Subject: [RESEND PATCH 41/42] mfd: wm8400: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:30:08 +0100 Message-Id: <20201028223009.369824-41-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028223009.369824-1-krzk@kernel.org> References: <20201028223009.369824-1-krzk@kernel.org> MIME-Version: 1.0 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: Charles Keepax --- 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); } /*