From patchwork Wed Oct 28 22:29:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11864351 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D5EAD697 for ; Thu, 29 Oct 2020 00:32:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B24E220829 for ; Thu, 29 Oct 2020 00:32:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931538; bh=Z3MQKhv+ZLUhU7MgkJiui/AhRWMSips3cc5Y1lahYAY=; h=From:To:Cc:Subject:Date:List-ID:From; b=OF8eYmXMzLb5vr1elmJiJyONwHOZ+X6R0NDOI8YpkiI2wopCdToLtmNMgq+pIUe8F Kv86mIrwAdyWy6ev2t2iOgqofIt6AZDEPSmS2qF110YN8HSkQ8ZtMaI4Y6Bnkzv3fv ZfUjBowd7QndaM6Jf3H8VkuDbA3qll04ufWBjUYk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387698AbgJ1Wa3 (ORCPT ); Wed, 28 Oct 2020 18:30:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:43398 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732857AbgJ1WaS (ORCPT ); Wed, 28 Oct 2020 18:30:18 -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 3895F20714; Wed, 28 Oct 2020 22:30:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924218; bh=Z3MQKhv+ZLUhU7MgkJiui/AhRWMSips3cc5Y1lahYAY=; h=From:To:Cc:Subject:Date:From; b=ZfjpmpFm2yBCiugjBHAeL4425YSyLy0X5jKvkOBXp5l/nR0qUv1Nq60XeZZf8O8Xg HiPz8zOo8yWC3Gmw+YVoEFVUwiF1UHqgRRYDf4t+PWoHMIrM8oLGyeehSfTMLmXPx0 vK5HI+7mrMUammjz14hEUuHkFGWdM2ge0XLVIH8U= 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 01/42] mfd: arizona: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:28 +0100 Message-Id: <20201028223009.369824-1-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 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/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 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: 11863703 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D833B14B4 for ; Wed, 28 Oct 2020 22:30:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B51B82072C 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: 11864355 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 46E86697 for ; Thu, 29 Oct 2020 00:32:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 26AD4206DC for ; Thu, 29 Oct 2020 00:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931544; bh=ntin2xDTkfek+9hEN28Uh4xls2Y0Qz++YiBXUELoDEs=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=As9YRdDGGjZ0Ifb044Qo957tkEvh1UUsBbDufgPk1juyULgMVdGpQJqM+pWAlFLbz D0WKXe8JK3PJwTgXUEbMM6I5JuY1uI2TbUtWc6mEAV/AM2u9uv1d5E6MEPfeDyvjmh X1GNXwcuNnhxzx9b+iQv+qqcDk1jgDggPtIq/Gi8= 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: 11864347 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8DCF8697 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 69B142080D 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:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11863723 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B0C8614B2 for ; Wed, 28 Oct 2020 22:30:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8F03220714 for ; Wed, 28 Oct 2020 22:30:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924241; bh=4t8zrcPE4o8Nqeis7vmtHzncTzgCdna72xDyDxw631Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=R1IG60v/L3AjxP4Alt76MOGrnVPYT6R/Wqt1YGdDi+JKkFTf4MWi4o4GmEGbzWFtZ 3rmSuCn+uaOTlqNxl6O9a0RlmbpmJHa8ZlVv+9ljunHVLt7MquzmYQsPCxPp7jBMrV fGqSrKIu93GGbKxil6KezGpO4R0KCCM0n8DLScnQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732937AbgJ1Wak (ORCPT ); Wed, 28 Oct 2020 18:30:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:43936 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387750AbgJ1Waj (ORCPT ); Wed, 28 Oct 2020 18:30:39 -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 4302320719; Wed, 28 Oct 2020 22:30:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924239; bh=4t8zrcPE4o8Nqeis7vmtHzncTzgCdna72xDyDxw631Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W+FvBYc4U/y9NdU0NTeySTkwuIqsuiLP9hupjAB7cQ9E2wkS55FRVoDbOWXOnyfac WbozmzVobO0JS99BQ4Bsg6R5ty+BbJ9FEjawgVKbOnZPY0X6joSGuXCXaTiCsz7XAL aPZPhaGrHsOpu2OFFEzIP5sc2wd2Xbnp8C0LQzv4= 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 05/42] mfd: axp20x: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:32 +0100 Message-Id: <20201028223009.369824-5-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 Acked-by: Chen-Yu Tsai --- 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 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: 11863727 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0602D14B4 for ; Wed, 28 Oct 2020 22:30:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D88672070E 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:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11864341 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C8E611130 for ; Thu, 29 Oct 2020 00:32:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A8D5F2080D for ; Thu, 29 Oct 2020 00:32:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931529; bh=yrIDtrUhmYNv3dPSz7tBCP/xxyCCBmLUAke1TAMzkTs=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=wLe6fQegsYtDW496h2OBxnwhaycA/e4QIPtGOJqdWhU+DVtgLWNapdKEjKLD/gYxr MoMZ3Ro4UhkGwU+N+awe4XasJ+Wi4Qev7tkYdfOMwdjwJofx2nbp4h0Bkfp8v5E4Cn pt6ymaMo5Dq7lVALv4YanEEhe9/i8W5hFTFG3oxI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387799AbgJ1Way (ORCPT ); Wed, 28 Oct 2020 18:30:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:44176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387785AbgJ1Wav (ORCPT ); Wed, 28 Oct 2020 18:30:51 -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 290CF20719; Wed, 28 Oct 2020 22:30:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924249; bh=yrIDtrUhmYNv3dPSz7tBCP/xxyCCBmLUAke1TAMzkTs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fThgRFzhG7hREyoN1dFzgfDBr8/saK8IOJlOAd2ZDKqo9NrM/J8Z7zjPtzlS+iUOe Fy94aO3kHfGYhjnXuDitbKfip4sliWtWRVmMBluLOfZZdGQgcvGDRNUvFDJ0NVfF8q WaXmVw9Lk7FB80MCRMIcpAz30W2AtUp+DfXOqdNc= 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 07/42] mfd: bcm590xx: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:34 +0100 Message-Id: <20201028223009.369824-7-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 --- 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 Wed Oct 28 22:29: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: 11864337 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3FE781130 for ; Thu, 29 Oct 2020 00:32:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1B1602080C for ; Thu, 29 Oct 2020 00:32:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931522; bh=ZhHhkh6o1JF/ds+3rdUTx+1vE3mzIzoPH4I1vjLLy5w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=VL/+gMVO3jCxCYTcIJEngBVU3AePO37XDeDuasTQ9mBGTbaDfEyTsGhNh3zV04ap3 DD3+hoXodvQ6dTbCfO6OKVwjLFjqG3I0tBMhWZlm2DdxrlKJi6XAhK7irPPeLDNqYy CCXt1g7fcEG7CbUDrabHOV/h2xaTwprqiSvD16to= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387809AbgJ1Wa5 (ORCPT ); Wed, 28 Oct 2020 18:30:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:44326 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387793AbgJ1Wa4 (ORCPT ); Wed, 28 Oct 2020 18:30:56 -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 6131F20725; 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=1603924255; bh=ZhHhkh6o1JF/ds+3rdUTx+1vE3mzIzoPH4I1vjLLy5w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=viEbwuZDoYAR+E4LAsjCYAH8P8MbPR/9VNMiQXeZjcvtQ4o7mavRbVdZEiQJrGbN8 IZKQeADuKwgi++NkOMLojI0vZZ+OF54G4+fIBtUAw3IRGX8g4EY6ATwrT4zdksi+iG ij1Ro79mS1Sy5op8AQNgV4NlIh6gvdzZRKBQANFg= 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: Adam Thomson Subject: [RESEND PATCH 08/42] mfd: da9055: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:35 +0100 Message-Id: <20201028223009.369824-8-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: Adam Thomson --- drivers/mfd/da9055-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/da9055-core.c b/drivers/mfd/da9055-core.c index 6d0af8486269..ff8fe165b937 100644 --- a/drivers/mfd/da9055-core.c +++ b/drivers/mfd/da9055-core.c @@ -400,7 +400,7 @@ int da9055_device_init(struct da9055 *da9055) da9055->irq_base = regmap_irq_chip_get_base(da9055->irq_data); - ret = mfd_add_devices(da9055->dev, -1, + ret = mfd_add_devices(da9055->dev, PLATFORM_DEVID_NONE, da9055_devs, ARRAY_SIZE(da9055_devs), NULL, da9055->irq_base, NULL); if (ret) From patchwork Wed Oct 28 22:29:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11863733 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4CE6214B2 for ; Wed, 28 Oct 2020 22:31:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2E69520724 for ; Wed, 28 Oct 2020 22:31:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924263; bh=isBHM4+ny8b7IJ/F7UtgN3v5rFfF9HueJMr217mfu0c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=TOWWO2Fk/z5/g4cXxchtG3bstCDoyE82Ue1alLJGxT7pyHB92fV3MM8xLI9tXavKR bR07pBUkCllHOJOhLkjF4B0Z+zlZKBtNB6BZDWlmUk4nvZFbEmsfYUFGMQp6aD89q8 biYWiDjOKtWSbMihfMUOqInPAesuEAjJH0ljAiS0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387827AbgJ1WbB (ORCPT ); Wed, 28 Oct 2020 18:31:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:44404 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387821AbgJ1WbB (ORCPT ); Wed, 28 Oct 2020 18:31:01 -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 B23DC2070E; Wed, 28 Oct 2020 22:30:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924260; bh=isBHM4+ny8b7IJ/F7UtgN3v5rFfF9HueJMr217mfu0c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fq0VbUh1BGpZL5v8S7rnDvmi6nfUO8wAu3dcVo1ZDwcGxhuW3nKgaeNqWiFglw8fO fSO2cxU7z1ZA/U4mBO1xvlrsOKtRVPq7sI6RTRlwHXp/6zQ+/uQY2VdinfFmfJcTUb 5UU7ztI6SknI1JjBznGb/K/rzLvWq0VC+myUm7Ks= 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: Adam Thomson Subject: [RESEND PATCH 09/42] mfd: da9150: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:36 +0100 Message-Id: <20201028223009.369824-9-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: 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 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: 11864333 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D15B615E6 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 AF67520838 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: 11863737 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8F22314B4 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 6D88B20725 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: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: 11863743 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4D98E14B2 for ; Wed, 28 Oct 2020 22:31:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2DD2120724 for ; Wed, 28 Oct 2020 22:31:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924283; bh=I4VGOHbyf0ZRqGHKiXOqgW6vQHTMxYY6OP7I4Na2/yM=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=aRkgLFtcheNXcbVdlynBuRJrhELZDGPpx0iKQJ7+nlr70EnoAqhoJu/wIjElD5ylP Qqr/Mg9mQcZvx7M0r6X2l0P0qBVKL1nI8VOfqsk3vZdzSEoF3twBrYBCKKHzl+gI1n NNXMeWVXdqmPdl22TzPaGAXtsRh58EyT+AkhBAuo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387863AbgJ1WbS (ORCPT ); Wed, 28 Oct 2020 18:31:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:44938 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387849AbgJ1WbR (ORCPT ); Wed, 28 Oct 2020 18:31:17 -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 ADD0820759; Wed, 28 Oct 2020 22:31:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924276; bh=I4VGOHbyf0ZRqGHKiXOqgW6vQHTMxYY6OP7I4Na2/yM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DYzF0MgFVHNDdAaWqVpK+bImrezk6zxBp0/5FtN57P6Yt368ppt24j7xZpwmepf// 2lH8h3qVFL0gvNbV2on5FezHEWHydkTm3g864JF6VCpsh1gsEWFBQrFdawZ+1WtOJq CwtPX5uImnokeByCQMr+aDOm6g2FMtG0ex/SVdqs= 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 12/42] mfd: kempld: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:39 +0100 Message-Id: <20201028223009.369824-12-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/kempld-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c index 2c9295953c11..d026013cbe77 100644 --- a/drivers/mfd/kempld-core.c +++ b/drivers/mfd/kempld-core.c @@ -106,7 +106,8 @@ static int kempld_register_cells_generic(struct kempld_device_data *pld) if (pld->feature_mask & KEMPLD_FEATURE_MASK_UART) devs[i++].name = kempld_dev_names[KEMPLD_UART]; - return mfd_add_devices(pld->dev, -1, devs, i, NULL, 0, NULL); + return mfd_add_devices(pld->dev, PLATFORM_DEVID_NONE, devs, i, NULL, 0, + NULL); } static struct resource kempld_ioresource = { From patchwork Wed Oct 28 22:29:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11864329 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 581CE14C0 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 35335208B8 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=cXZkQqnBM7BsBAWa7qmuKDksLHfG5eLFOsPLmtLUOEY=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=CTDa6WQjTC3IQMcq4yt3K/IJ6SaJho03rWYtUvdajdFdCMlHuuICmbMrqv8yWrsrJ 5ssQnP8v94fy5I4ITw0maC/8yUX9XVOQ7bUoOsxEPyAReXwR4moMo5/hWXjCfhHK0B EcLhZ01pP+0dDlDPKzGoJ4lEdIZRheDe6MDSGXMw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387879AbgJ1WbX (ORCPT ); Wed, 28 Oct 2020 18:31:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:45048 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387875AbgJ1WbW (ORCPT ); Wed, 28 Oct 2020 18:31:22 -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 0EA6620714; Wed, 28 Oct 2020 22:31:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924281; bh=cXZkQqnBM7BsBAWa7qmuKDksLHfG5eLFOsPLmtLUOEY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NbNDFrxnLSbyUDveI6zmJh5L+3XcOiAPs2QIhHygHCadKk77N6FMLTS0IoqPh3ikH Z0Cy2KJm638vj2PeMpJgjei22mVvr9s0k9U9IDgrwuYeyCLCJouDJ/8QeM9ORND3oP cuVjVduevjguYpwOvMuKa942NWBhEsfZMmclQHcg= 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 13/42] mfd: lp8788: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:40 +0100 Message-Id: <20201028223009.369824-13-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/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 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: 11864325 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7086714C0 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 505782080D 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: 11863747 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 918BB14B2 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 6FAC42072E 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: 11864319 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 80B1E697 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 5B89F2080C 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:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11863751 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6127714B4 for ; Wed, 28 Oct 2020 22:31:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3FB4220731 for ; Wed, 28 Oct 2020 22:31:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924305; bh=PMT6Yq++u6+k16t+jLOuqtCaw1TT08QCkW6o0KDU9nA=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=2vneAUVpc/D3xequnY+5GHU+0zOeejS9GEki0Iyzs+pgKng92cHPHU62Y0EYXNaGQ Er/ODfzt8Yke2LjyukGqVTr1ZXiwgbs47U7xoQ6gzu8embp+AOT1w4enkw0/F8SswY 0FfhB8bW6m2OtIH1AoPg3qqKaLSrGXd9bySppu+M= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387626AbgJ1Wbo (ORCPT ); Wed, 28 Oct 2020 18:31:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:45514 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387942AbgJ1Wbn (ORCPT ); Wed, 28 Oct 2020 18:31: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 40E082070E; Wed, 28 Oct 2020 22:31:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924302; bh=PMT6Yq++u6+k16t+jLOuqtCaw1TT08QCkW6o0KDU9nA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wXLZmhzepsq46MsnhnKI34ii7It/DZXNfVpOHa5HEU2eyr6B55aWrGkSZx3M9ZNhA yRS/vEmsPvblm/3j6qklA+9rZ+Y2oabmAgXAHO+brk7YAqfqHX0SJnFHzYC2RJAo8D EPkrf5boNeNri9/casGQXIBr8VKnOCLKLEeDOSVA= 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 17/42] mfd: max77693: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:44 +0100 Message-Id: <20201028223009.369824-17-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/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 Wed Oct 28 22:29: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: 11864313 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7C2971130 for ; Thu, 29 Oct 2020 00:31:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 59D032076B for ; Thu, 29 Oct 2020 00:31:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931481; bh=NtNH7D40QGNdS9vk2EdOyDEF6Xs9DwZ2/jhZdWW1I4k=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=pj1F0xDRA5xNcqPbRdWk6I/UUcuTB0E9lgTWe+6vhIFzpfqgfD21Hu6OYB98oEbBi gyRiOjfVomBsnrusU0xxFikVOBR0ovCD3NN2P3OP+PpLiSe+VCO/AIaPufXM/ZeNjh ixlbuxsg3/3LxPY3XW6jHXEJFOa0Elu1d6+kfY/o= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387965AbgJ1Wbt (ORCPT ); Wed, 28 Oct 2020 18:31:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:45640 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387961AbgJ1Wbs (ORCPT ); Wed, 28 Oct 2020 18:31:48 -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 67C1B20720; Wed, 28 Oct 2020 22:31:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924308; bh=NtNH7D40QGNdS9vk2EdOyDEF6Xs9DwZ2/jhZdWW1I4k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oicblCJ9LUOYfPrj2AUuVHwyDnxc0IUHKALKh5Kjxzdi8gtKQC7H3DNa69hbut8L2 2RKbaZzElJXDogKya9gjZ4ORWta/5GCBmPvmMKQpmQBpQmUY3FM3CiDPZRf+f9jac6 BWCIKt2XsS/2ZLG+bnOSxQwA7GuPr9QxjGVr2LoM= 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 18/42] mfd: max77843: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:45 +0100 Message-Id: <20201028223009.369824-18-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/max77843.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/max77843.c b/drivers/mfd/max77843.c index 209ee24d9ce1..da9c32c44e3d 100644 --- a/drivers/mfd/max77843.c +++ b/drivers/mfd/max77843.c @@ -148,7 +148,7 @@ static int max77843_probe(struct i2c_client *i2c, goto err_pmic_id; } - ret = mfd_add_devices(max77843->dev, -1, max77843_devs, + ret = mfd_add_devices(max77843->dev, PLATFORM_DEVID_NONE, max77843_devs, ARRAY_SIZE(max77843_devs), NULL, 0, NULL); if (ret < 0) { dev_err(&i2c->dev, "Failed to add mfd device\n"); 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: 11863787 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9096114B2 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 6DB4B206CB for ; Wed, 28 Oct 2020 22:33:05 +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: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: 11863775 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 46F7814B2 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 26A5C20728 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=KQvsd/GN1hTQrRV7vizN30cYl3mHAa2c/7DfIu6q100=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=wrBQsY2xl/uxipQjlhlC0lg/u5sa/WnWGb6i6VuvUfQZUuom4QPFE8XveljDE+57k oYlrZzC8Mc3f3JC4svtgUIzf8EeriR4DxJ4bBjoIpLBqkqxd936bJ4WpRV4fW+9hBI xA90wzvYcnMhfPxG/OQUi6Nc+PFLbXqIyYsZe7pY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388009AbgJ1Wb7 (ORCPT ); Wed, 28 Oct 2020 18:31:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:45870 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388003AbgJ1Wb7 (ORCPT ); Wed, 28 Oct 2020 18:31:59 -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 C436620728; Wed, 28 Oct 2020 22:31:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924318; bh=KQvsd/GN1hTQrRV7vizN30cYl3mHAa2c/7DfIu6q100=; h=From:To:Subject:Date:In-Reply-To:References:From; b=17HRvBp6xBxL5FDK3+Y20PI4Ehh9ENIeLcFQBHDljOzRKaBvhAQP5Rvas20p6MZ5b SW5Zh7Nv4oEejOkZaydUND805yKTLVEJKQCcojvoem7jaq8tEYmvnJaYBaaNuNGTFl bt+RAVkHKl+EJngwvHuelEEQlQfh42WMvGHBUF2g= 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 20/42] mfd: max8997: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:47 +0100 Message-Id: <20201028223009.369824-20-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/max8997.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/max8997.c b/drivers/mfd/max8997.c index 68d8f2b95287..0c5b8baead62 100644 --- a/drivers/mfd/max8997.c +++ b/drivers/mfd/max8997.c @@ -212,7 +212,7 @@ static int max8997_i2c_probe(struct i2c_client *i2c, max8997_irq_init(max8997); - ret = mfd_add_devices(max8997->dev, -1, max8997_devs, + ret = mfd_add_devices(max8997->dev, PLATFORM_DEVID_NONE, max8997_devs, ARRAY_SIZE(max8997_devs), NULL, 0, NULL); if (ret < 0) { 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: 11863777 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 79FCD14B4 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 59B3520728 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: 11863763 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4079414B2 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 2052220728 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:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11863779 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B232F1592 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 8F31B20728 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=hVk9ja+3hAguuqm5mEhVctqclI+AabazSjJrPiDpUHs=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=rFHj/EJd6Fe1P66roazNuAVduFg0kFdzJJ+ht7zi10Wq695pAJunkpPVfyBE31AAT XELchAxQpYUV9Xi2/Az17GIugdgIS8ImBE1THSPqaLGJmtVX41iGToac+9GR9RXaMy wlV0RG6XPs7g17MDfIcuAnwhkzmKZbqyBZ8G9544= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388059AbgJ1WcP (ORCPT ); Wed, 28 Oct 2020 18:32:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:46218 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388053AbgJ1WcO (ORCPT ); Wed, 28 Oct 2020 18:32:14 -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 6B6C120725; Wed, 28 Oct 2020 22:32:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924334; bh=hVk9ja+3hAguuqm5mEhVctqclI+AabazSjJrPiDpUHs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ITnvIR6aAyUxDwczOwSWg6/bTZ/Vbb90rVmIeqFB4rsGReTyoZdWyq6l9KYZKChPJ YJyY4lKrfIKA4lMvwLoOWPIPGEjCval8zFbv0jk2xq7UpqEI8nd1K35J2MjQUVrx9y M+cAutUVsmMsf7tW9i8VvQ9U6kP2E6HUf//HYFE8= 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 23/42] mfd: rc5t583: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:50 +0100 Message-Id: <20201028223009.369824-23-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/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 Wed Oct 28 22:29: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: 11863765 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F2DFD14B4 for ; Wed, 28 Oct 2020 22:32:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D0212206CB for ; Wed, 28 Oct 2020 22:32:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924343; bh=e2bE8ay3FKMMRP7flhNzomhc5bqCNWYtJ2nVgour3Ew=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=BCwwRltnQzpEt0h9iaM48iLAmCbLfXB89DSBYJ26skjIqGb9KVGTs5Rm/zAvDFvvo aPk3jrHLwvz57L6I9II4g1wPdyyQmBapDzdpIxxfTw4VA52fPrDG5a0PdNOLYIUt62 /WfTz457sdpI0qgPE789OLtXER8/Ydb2mIvbA+MU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388077AbgJ1WcX (ORCPT ); Wed, 28 Oct 2020 18:32:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:46334 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731498AbgJ1WcV (ORCPT ); Wed, 28 Oct 2020 18:32:21 -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 AA86520724; 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=1603924340; bh=e2bE8ay3FKMMRP7flhNzomhc5bqCNWYtJ2nVgour3Ew=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nIxVLOTgVNVzBCciNNaS/BzBXcprBd9dY2XW2GYehO+2rZvhA65r2aLIEiOJ8+qTC NbZS1/jZWCGZ+HmXIHa3YFaPZFCVdGxkTQdVpeZ/k7DCtqLUrmp1Fvgie/AkAbroNR usDvXDH7pnjZGMU3wCuogeMc0OYCzoh+ol5GTqjw= 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 24/42] mfd: rdc321x: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:51 +0100 Message-Id: <20201028223009.369824-24-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/rdc321x-southbridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/rdc321x-southbridge.c b/drivers/mfd/rdc321x-southbridge.c index fbb1faf95e27..6fb0d625cec9 100644 --- a/drivers/mfd/rdc321x-southbridge.c +++ b/drivers/mfd/rdc321x-southbridge.c @@ -71,7 +71,7 @@ static int rdc321x_sb_probe(struct pci_dev *pdev, rdc321x_gpio_pdata.sb_pdev = pdev; rdc321x_wdt_pdata.sb_pdev = pdev; - return devm_mfd_add_devices(&pdev->dev, -1, + return devm_mfd_add_devices(&pdev->dev, PLATFORM_DEVID_NONE, rdc321x_sb_cells, ARRAY_SIZE(rdc321x_sb_cells), NULL, 0, NULL); From patchwork Wed Oct 28 22:29:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11863811 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 25DED1592 for ; Wed, 28 Oct 2020 22:34:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 061CA2072C 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=1603924484; bh=meaQ0IR2jwXG9zW2MTz/Y7kVlJwyJ/afU4Plo2uMxQw=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=yb8D/JFbOV7p1ftwDhFNyCTHjkOicAvYRC/0OBHfSlJ/mdK9vTVWvClFb4tU4kzAL qmh5DnjdBr3EbJ0F9HpgHh3C6NqkM/JYm33CEe9jR5bR/Y+m16okQ2/fAGtI2JWx6I Qh4zDhINjUYgANfYEJaHP62ot1PZRhdPHXXpcU4g= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731498AbgJ1Wc1 (ORCPT ); Wed, 28 Oct 2020 18:32:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:46468 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388088AbgJ1Wc0 (ORCPT ); Wed, 28 Oct 2020 18:32: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 495F52072C; Wed, 28 Oct 2020 22:32:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924346; bh=meaQ0IR2jwXG9zW2MTz/Y7kVlJwyJ/afU4Plo2uMxQw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=F0HVZBBqmayY52kexyzQsibompPgPC8phmy41M+yT+CyKuRXa+pKlsP9iUcjHNQfr kGMVcILpwb6yCcztStrrYQa0Fln7VGxwNVgByKmRJaGR3PVtA40hPs739qdLzc/gvR UpZ7lVhA2YHhe859fxsGGMcpxohB/umMHjLvet2A= 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 25/42] mfd: retu: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:52 +0100 Message-Id: <20201028223009.369824-25-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/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 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: 11863807 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B415514B4 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 8F12E2072C 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: 11863785 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5BCA414B4 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 37AF42072E for ; Wed, 28 Oct 2020 22:33:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924385; bh=zdRGMRVPKz9yuSK0z14f5hzpN6zstW986VAYTBfkvEs=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=enfCe71iUadGNzDf1Qb9CZ3qzK1xEJ4L9G4rPIROqsYCe7QFBtlrQ73cyMHPA3ut/ jZKDQ8IWWriimGy9iKw8YNXt4KSFtaFwGaGVeQHxsih/939ztqdni2qanyWY4WeFWW OOPgyckN1PvBZmZBd7Z1mc9ovj+hC1FZDqPjHJ9w= 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: 11864309 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5DC251130 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 3B7A2207DE 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:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11864305 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 26B5314C0 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 05F5F20829 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=1603931473; bh=b9d7Wcj7Kz0brmnEaYjlhHiXFZaIlpbA7fMP+lAYOCs=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=IhrCQLuYMd2zm57kikQAltuc36HHVZcYwqyWlQ2GZOxXZ6zO9pK0Mw4bYkBAmxxXn 43NEIgqh9UIvoAg3Sd76EXdQ8SVCuT676CvbhZxCxFPTUCtBdKi83l4B7i/fFnXv5s khFznnwyLoipuPhZbeMVyICDhK3AhZoD75LrAm+0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388567AbgJ1WdF (ORCPT ); Wed, 28 Oct 2020 18:33:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:46794 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388201AbgJ1Wcs (ORCPT ); Wed, 28 Oct 2020 18:32:48 -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 E66D72072E; Wed, 28 Oct 2020 22:32:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924367; bh=b9d7Wcj7Kz0brmnEaYjlhHiXFZaIlpbA7fMP+lAYOCs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=T+M3Gj7Udh+PGeVT7FgD6rYlnY8xjWkeTi7ItB3opKsndjb28ZEshiZyp7m4gP3+r NKSBIdM2qoCjyN+ehuuTmCZY39fNwN3FukdexIirdU5r8Xz09l3ykKxeypI3n5oitk 3HyeL5HYM9cHIiCzha+socCnj4mrzLXOB4Y7O6+E= 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 29/42] mfd: sta2x11: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:56 +0100 Message-Id: <20201028223009.369824-29-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/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 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: 11863823 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4C38F14B4 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 2909A20725 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:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11863789 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8575314B2 for ; Wed, 28 Oct 2020 22:33:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6516D20714 for ; Wed, 28 Oct 2020 22:33:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924387; bh=ifer0qFpmgpScVnZn7aVvw9lQMczxYrypi1yqr3rAwI=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=Xm/9k5uvqbgHmHugLn2yfcs4HUHIV0TDHeJo3+wXz2qbvGm+/o685yJvcuI/CpLzG sury+97vDW+pg0PFkUMYai8WLxXIc/Cjhp45zUz4EkX0Kc9Zx1V31+k+wjzWem1fDK /C+gJhc7RpGDlyHrQDSlouCXd5lyBubuOhJuU7VQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388570AbgJ1WdF (ORCPT ); Wed, 28 Oct 2020 18:33:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:46920 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388494AbgJ1WdA (ORCPT ); Wed, 28 Oct 2020 18:33:00 -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 6CD602072E; Wed, 28 Oct 2020 22:32:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924379; bh=ifer0qFpmgpScVnZn7aVvw9lQMczxYrypi1yqr3rAwI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NNULfFQLt/FTEQpuj0ZA9HTeU4TE3UfyQnnDWSDk74jLAnDEr22kWibODAsFZE2Ji qtGRZOoGN9JwyoPKIHfdBKQojSnDD9lEY2ROWnNOmBIRcxKlw4Ur+gQtXewnT1BGCw /GdULCATmV6cCysRHQ4Yy1kenbTnJ6ZX1bWfzkXI= 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 31/42] mfd: timberdale: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:29:58 +0100 Message-Id: <20201028223009.369824-31-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/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 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: 11864303 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D9D76697 for ; Thu, 29 Oct 2020 00:31:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B98CD2080C 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:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11864295 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1AA78697 for ; Thu, 29 Oct 2020 00:31:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EE8552080C for ; Thu, 29 Oct 2020 00:30:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931460; bh=q4ewlq6+5TU/aXmlFx1DhX/KRpEoZg7JSVY6SR9RAQg=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=Zo8+7zpuKVZFPd/eAxCWhopbouwLSXjLhDz3gFuqT9tgNC5DgF8qJ+WcdOP3PwhwG j/XlutCfl9gPcnvvcBjADLMfGlpMr0IZoBTnTSXuWiodILSLxDwo1syab1Rjq8xy6q H3APcAknZN8mGKvhS/pWCybKAfIP07KyngmZo/SE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388234AbgJ2Aaz (ORCPT ); Wed, 28 Oct 2020 20:30:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:47172 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388176AbgJ1WdK (ORCPT ); Wed, 28 Oct 2020 18:33:10 -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 166E620728; 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=1603924389; bh=q4ewlq6+5TU/aXmlFx1DhX/KRpEoZg7JSVY6SR9RAQg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IECvjWQ+dhjOgtvvSy48Rt7uWnMk36KnEXN9GLi4iNPXBHn3g2LyX2mAk1ngkH8wa ef7Vu+jbxm3P5qmSiFOZ11zEUqicHz/ZRhDvybTYfzUPhOzJQacWWKSgVY3eTVIp3V vpllfVWQihpM7zVlSSw9VvimbO5YsAueVOPhFpoQ= 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 33/42] mfd: tps65090: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:30:00 +0100 Message-Id: <20201028223009.369824-33-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/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 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: 11864293 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8BA0A1130 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 677F62080D 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:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11864289 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3727C697 for ; Thu, 29 Oct 2020 00:30:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 12EDD2076B for ; Thu, 29 Oct 2020 00:30:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931439; bh=bjtNNGrQ1Gy69nItNmXzX7/lnZLGq9l8CRTCQoueuT4=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=FIXigOusm2NjCqHGlQaIqCWFctw17lEDZqWvo3glLgzgcD8w6d1FzHMeuX+5B5EtH p4MujaZzOCKfDhlCzBcc7M9IvcsQMmzbvAeGrcoBXaljwaCrI2ksDHrTU1CEp1yhVz 6Ws3n92fT2edCNQSwJaMFICP9jwHUchnFuh2Hst4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388104AbgJ2Aah (ORCPT ); Wed, 28 Oct 2020 20:30:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:47326 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388307AbgJ1WdV (ORCPT ); Wed, 28 Oct 2020 18:33:21 -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 B691F20728; Wed, 28 Oct 2020 22:33:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924400; bh=bjtNNGrQ1Gy69nItNmXzX7/lnZLGq9l8CRTCQoueuT4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CFU1veD84bch2JfRXsz0nUv9UCE3Tk3x1thM2T6Ps2K2b59kABatTQM98pmARVXd8 SusJNNEvYJPRrDjbU1DPgGDblhzb5/zo4wEkpkgGQGoUqoiFLkg27LP7uniymi4vPr nMTXB7zXuc90hbQIkXYGEEnzwMIJCYRCnLkAEjhE= 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 35/42] mfd: tps6586x: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:30:02 +0100 Message-Id: <20201028223009.369824-35-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/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 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: 11864283 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5C47A1130 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 3A69F207DE 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:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11864271 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F158D921 for ; Thu, 29 Oct 2020 00:28:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C62B92076B for ; Thu, 29 Oct 2020 00:28:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931292; bh=eWfEGkJKN4hzXyneYZiCS7LVfHIUvAWEodm+KnOsw1s=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=kZDUx+4DVDW8y7RjxwD38bTdheblfftUrvvfgbU9kwa0oDz+Ehilr9nWUkWHGIT1d MI9zT5fq/hIFcfYRXMCtRA/JASF9z/Bs6ZPnhgXrZpc+ohwuNhiIIsrCIK0BwdIp7T R3x+9qOGsp1wi5l+pzNkNwSSR23WSWQh/VJ4O0sc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388304AbgJ1Wdd (ORCPT ); Wed, 28 Oct 2020 18:33:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:47482 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388384AbgJ1Wdc (ORCPT ); Wed, 28 Oct 2020 18:33:32 -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 43DE620731; Wed, 28 Oct 2020 22:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924411; bh=eWfEGkJKN4hzXyneYZiCS7LVfHIUvAWEodm+KnOsw1s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eziRXj/TqKh0LCKY1nYiZuc40F5ZBBFCBXPWHn3BalNDmKLPxrFvlOkifQKSVdctN wZ0wSvafWdHebDr7LJWQwtghun+MGwEwObjVDwaUeggWxT2KxmeOcvRTT+8H+R8G3W MT0PyZgNvdttSo7FdaR6XoumWnL3j6p4xhEnWp9w= 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 37/42] mfd: tps80031: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:30:04 +0100 Message-Id: <20201028223009.369824-37-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/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 Wed Oct 28 22:30: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: 11863861 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3B2D314B7 for ; Wed, 28 Oct 2020 22:36:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 19F852076B for ; Wed, 28 Oct 2020 22:36:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924616; bh=bqv9tuXjLzuFjl/e05MHC5F387twPoXZ645TcerkI5w=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=s+pDzup46pmNqgzpEGk4/l5k1pUBeWRRz4ZyvVN2l+h9bDKq14boNKK2je+MQqYaX 2LbrZzAIdSPNj5LmDcFizt9PxcMZgV/fzaKSHEkpeK1CvQ0tBwA/MbRs3UQ6LBUbZ/ oWCK8gfts7dSxIWuY+5/WiGFRQhJUi7tcBq7mYd4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731398AbgJ1Wgs (ORCPT ); Wed, 28 Oct 2020 18:36:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:47522 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388430AbgJ1Wdh (ORCPT ); Wed, 28 Oct 2020 18:33: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 1AE182072C; Wed, 28 Oct 2020 22:33:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924417; bh=bqv9tuXjLzuFjl/e05MHC5F387twPoXZ645TcerkI5w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FdMdzizSLjwnL2yS2LCeUvPpYEUyLACvTNqkib2gtOH6hP0kyDMRkZ6TThcgLjrKy S98caqd+AR8sPC//Gvk3Plx4FcJCF4eXaKm4dqoHh88KIgffLHBX+CpTD7ALfC/MTm oxeis1dRK2uC9WwF2UPnEx5VHDGzJ2ZF+1Tj3oKs= 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 38/42] mfd: twl6040: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:30:05 +0100 Message-Id: <20201028223009.369824-38-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/twl6040.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/twl6040.c b/drivers/mfd/twl6040.c index b9c6d94b4002..702f9e216d42 100644 --- a/drivers/mfd/twl6040.c +++ b/drivers/mfd/twl6040.c @@ -794,8 +794,8 @@ static int twl6040_probe(struct i2c_client *client, regcache_cache_only(twl6040->regmap, true); regcache_mark_dirty(twl6040->regmap); - ret = mfd_add_devices(&client->dev, -1, twl6040->cells, children, - NULL, 0, NULL); + ret = mfd_add_devices(&client->dev, PLATFORM_DEVID_NONE, twl6040->cells, + children, NULL, 0, NULL); if (ret) goto readyirq_err; 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: 11863857 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B9DF114B7 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 990A72076A 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: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: 11863839 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0C2CE14B2 for ; Wed, 28 Oct 2020 22:36:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E21072070E for ; Wed, 28 Oct 2020 22:36:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924580; bh=+3+rZMhFJYQcM+CPB1sCdkixsb4UcB1JJHItd8PmXwM=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=THtcTFbG4IYGwnByXj2MGHPDsnQ/pBPYHmr+SKZbveNPkXdeh7tGIzCv2HUDy6k+0 JnACKXHYb/mXDD5J+TNrlLljpCO0k/RSSQsF48a2bCI0w2R55sJ15DesfxHsQEFV+h u0MfjGDAgBar3JcRZPxYa3omYRA5RBGxvs+9FLgw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727157AbgJ1WgU (ORCPT ); Wed, 28 Oct 2020 18:36:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:47618 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388435AbgJ1Wds (ORCPT ); Wed, 28 Oct 2020 18:33:48 -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 4657620714; Wed, 28 Oct 2020 22:33:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924428; bh=+3+rZMhFJYQcM+CPB1sCdkixsb4UcB1JJHItd8PmXwM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sTuzb6tdZMy1AfQS7NxlZ/N6cfGJf6l/SKb3F25+EwCANmCqJrjLPzv+wUi5l7/LL 4AxIUh8UtG3xD1uAv0oJ6EWiA5/nj9kyTRKqafPPQSMlQudwEfnS25wz0Xbm1zPZY2 ZaflMJoHfKeNOPUp6+SiZBTVZiRY87aqJbzmO2u4= 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 40/42] mfd: wl1273: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:30:07 +0100 Message-Id: <20201028223009.369824-40-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/wl1273-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/wl1273-core.c b/drivers/mfd/wl1273-core.c index 1ab5e15a65eb..0af1322fd393 100644 --- a/drivers/mfd/wl1273-core.c +++ b/drivers/mfd/wl1273-core.c @@ -214,7 +214,7 @@ static int wl1273_core_probe(struct i2c_client *client, dev_dbg(&client->dev, "%s: number of children: %d.\n", __func__, children); - r = devm_mfd_add_devices(&client->dev, -1, core->cells, + r = devm_mfd_add_devices(&client->dev, PLATFORM_DEVID_NONE, core->cells, children, NULL, 0, NULL); if (r) goto err; 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: 11863833 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 92DDA14B4 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 7625F2072C 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); } /* From patchwork Wed Oct 28 22:30: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: 11863829 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7CF9A14B2 for ; Wed, 28 Oct 2020 22:36:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5B5B5206CB for ; Wed, 28 Oct 2020 22:36:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924571; bh=B/Vu+6xItSMaZHGt13GUipfykI5xbdYfX/hIHb/tkjs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=xQTPDY5v+i6iaAQDr3ZYr7ItgK/1F9r4XV1lWFR6tjijnwzL3fc7Hwv3LK7Qi78qd W9twBSI3Z3bI+nIJ/4wYVGerfEWdPnFrkV4E99i5d9BDozM3nYHUgbgCWRPruTf68X 0yq5YwwSkst/XpMvyhx5NwaYOkGRR8HuGI/BLRi8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388290AbgJ1WgB (ORCPT ); Wed, 28 Oct 2020 18:36:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:47714 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731063AbgJ1Wd7 (ORCPT ); Wed, 28 Oct 2020 18:33:59 -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 C340020714; Wed, 28 Oct 2020 22:33:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924438; bh=B/Vu+6xItSMaZHGt13GUipfykI5xbdYfX/hIHb/tkjs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gH5DZMP8j3zLEJjFKHVUigdfh2IdjmvsKy62IkVyMupbuxo8/Kf+ZtkY5rhl29wDc jY7A8wCmNJKi9wgks7zS6IuUVfk+y6Gu+JrSXN2OVSC5huWEcn34KU6LMvcRtcndSp Gvb11NTwHdH+iTwPODHuSShfCdYyq/rwYMS3mVdY= 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 42/42] mfd: wm8994: use PLATFORM_DEVID_NONE Date: Wed, 28 Oct 2020 23:30:09 +0100 Message-Id: <20201028223009.369824-42-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/wm8994-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c index 3b2b93c5bbcb..5a8d4cc00cc1 100644 --- a/drivers/mfd/wm8994-core.c +++ b/drivers/mfd/wm8994-core.c @@ -578,7 +578,7 @@ static int wm8994_device_init(struct wm8994 *wm8994, int irq) wm8994_irq_init(wm8994); - ret = mfd_add_devices(wm8994->dev, -1, + ret = mfd_add_devices(wm8994->dev, PLATFORM_DEVID_NONE, wm8994_devs, ARRAY_SIZE(wm8994_devs), NULL, 0, NULL); if (ret != 0) {