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: 11864353 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 8862B14C0 for ; Thu, 29 Oct 2020 00:32:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 66C3D20829 for ; Thu, 29 Oct 2020 00:32:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931539; bh=Z3MQKhv+ZLUhU7MgkJiui/AhRWMSips3cc5Y1lahYAY=; h=From:To:Cc:Subject:Date:List-ID:From; b=ABBXOwOBYaqjhP9LYlJtA69nuK/5IdLRqglBwQffXZo0dU2SkuVUMknNrl9ptNx0F sTNGB1olHvlNsTkSU0YfTgn+yCcj0IZ0mesp20uMzJpckr+IojHiNHP/qw1geI+rgS Qrb9ZeMsxVfFTWNxaDOhQYWnVCxBcoKgiiWaqwY8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387705AbgJ1Wa3 (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-omap@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: 11863721 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 0BD1514B4 for ; Wed, 28 Oct 2020 22:30:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E0A5820720 for ; Wed, 28 Oct 2020 22:30:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924229; bh=GBQ0jA1UbDnOOxIlEwQgVuqIYDKm0O9dv+Q1uOL6pdA=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=q7/Vbz3H6kCNNEAd06QnjwNtSwvGbr13moi5Ii/ankjo6OXNjG1+XDsOBkcQfCb99 NOMEuKtFIBHHnQMf6hGT56U9cb6A+b8pG2TKmqC/grSf7R2gPjp9qBdu7FCWxyi7NY YQu8b1PBgqBUR71JUoitWsPzYFoxaIMXuV8/zHvs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387689AbgJ1WaZ (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-omap@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: 11864357 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 84E1D1130 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 603E4206DC 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=qZd0d91Tg3DT/kqRE00pUyNrrSuqgPwG7d8O98Mt1TmdOWUqFwiyXCmM0OqL8GUrJ 06aOsa4zF9hcPaDmwBOsKJk0dzyR480z6qpthJSPs2IeWdRMC5SrPDxTpL9NCxli3j 53K/skTOZ/fKyyTOO06zFA4gQKSNwoyJDspae0Zw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728455AbgJ2AcS (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-omap@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: 11864349 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 3037E1130 for ; Thu, 29 Oct 2020 00:32:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0DC872080C for ; Thu, 29 Oct 2020 00:32:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931533; bh=0ZjT6w62frwssv+4Ks9l2/OnlDfcFnkYb7WrZ7cRmdw=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=sa6p/HSgP2HDuvGI+SF4IoyGH80iFIw43VpSKfJuwB8GiU9sHkpjhOi7BBpm3fkXG pjTKzX4P2LKnwBPw/DkeXia3CT5S4oFIvJjK0OfU7U/WOW+4m6r18FzTBSWXFliDbv 7wZHTOhR+MSEsE8OKzmNSA6+Nq4uxtsHD41fh5w0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387634AbgJ1Wai (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-omap@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: 11863725 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 1815C14B2 for ; Wed, 28 Oct 2020 22:30:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E843920719 for ; 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=1603924245; bh=4t8zrcPE4o8Nqeis7vmtHzncTzgCdna72xDyDxw631Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=C1kg3rtY0mzVU1cYyQ+HRvzAfzZ1lVr0BMyDGzTvAgyRx7YyrY4T/3kQcmUrrRmhV pCtSZPAj+/FzALzNWP5QRzCs/bo7YceYIYh1DCm5x1eF5+y8+s7AxwkoFo1ba68q4B ERAlnDS81VbqX3G28jenlJpkWZRVEFtzLbUEbRC4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733166AbgJ1Wak (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-omap@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: 11863729 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 586EC14B2 for ; Wed, 28 Oct 2020 22:30:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 356CF2071A for ; 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=1603924255; bh=NcuGCp7psdo27lUEMs8BF/KiqmT2aaxB0ULJR4v6e7o=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=s5IflH+DfUaIaTe+QLZkJwEumMA6lSpXsaCFh4EyndMP7bzoRNrWEUzznki4231hX WXozROC3dmejYa3hLYTYhWFNF5kVvEQ7X8nmPpobhZ3xvwwv1736oB5LieHuIOWTjD osijPGUwzg0rPSLzjW5tWnK12p2/XrIygUHB/V8Q= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387782AbgJ1Wat (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-omap@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: 11864339 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 21E3914C0 for ; Thu, 29 Oct 2020 00:32:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E896520829 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=1603931523; bh=yrIDtrUhmYNv3dPSz7tBCP/xxyCCBmLUAke1TAMzkTs=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=N01mNYWRmuOwoz1ddY3zDru+VNo8NdhGH4asuobOL/XFtjQujjHD9SAtZIQeAlizD JbVBj/qf04bPDnXCwRsk/qdTe6JVBkfC3rjQKyWIIJnYNim/u+zvlungQtTFnkeuUe l/OCt/Ocl4HUd38MtQusmtg3h8raeIRO/qsJ5jc8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387797AbgJ1Way (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-omap@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: 11863731 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 9DEB514B4 for ; Wed, 28 Oct 2020 22:30:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C18B20719 for ; Wed, 28 Oct 2020 22:30:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924258; bh=ZhHhkh6o1JF/ds+3rdUTx+1vE3mzIzoPH4I1vjLLy5w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=E6hYsf/s8sCbqZi4NSxoiqP5kWdsJjgrX2jZUbHXMq3CvnoVJ6A7hh20UF54FwZqt aoGyZFlSy96u4gXNDxUgYb47yHhu6LRthraBmcBEbBfP/HANXIkh+4PnC7nK0rlIPS 54TLMpBAnkAACY+AWtrjtqQhBDH24geiTvSlFrCg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387810AbgJ1Wa5 (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-omap@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: 11864335 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 15FBD1130 for ; Thu, 29 Oct 2020 00:32:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E86AD20829 for ; Thu, 29 Oct 2020 00:31:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931520; bh=isBHM4+ny8b7IJ/F7UtgN3v5rFfF9HueJMr217mfu0c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=nNrIzQ4rYh9nuMCHNpD63Z3D/T9iKbeeHBPebk9w0aIac8H3Ev7+jKapC1Q1lXsZN WdL/ZAhlrzK3xhKLw+xOWaPdo0pBCcyA2qtlV1PCFonMIE9eRf4CFciY/zklM4qvEw PSz0cL8Q+1K/dQ2rtZxdMcAEy5Jo84a+bjbe2AA8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387826AbgJ1WbB (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-omap@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: 11863735 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 B82EC14B2 for ; Wed, 28 Oct 2020 22:31:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 97C4120728 for ; Wed, 28 Oct 2020 22:31:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924274; bh=VCI2z1U690+gy2/g7ipJ4jAAws2M6QcgNV8q6Id1J30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=wDdVOfKyeDromgJjfhnuw5uK21Ipp7OiY+UIyvLX/tOyDd5BATsR0zfcLDVkLimTv SO6uHnfFPEZ7SsAdrHlVUEypXASjlg1SwnkT/V5FzjAP61gPnMBETsEimxrLS0wCCF 3N8+fJd6LSgR/0DdPCDNA9/1fTtUTsurkam052yE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387842AbgJ1WbI (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-omap@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: 11863739 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 901C814B2 for ; Wed, 28 Oct 2020 22:31:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6D8E320720 for ; Wed, 28 Oct 2020 22:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924279; bh=14PRgQ9ja2vhKOIYad9z8Ly4hH8wA/Mlt1rDuUMOPjg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=FPvEezIIcRzeCibkpZtR8nwAibdswiyL9Xzpd0XXsisH2ayqT/oytrteQeYnltqSZ 4LIEhVSyVuEvm+wSUh9m6KoP6kt6qrVK7OhxJietU4Utuiz/hEBUdEjOeKQD/rxwf/ wTpvpytZxyqFCXnF5DtLmdJ31t5W6dgXOUp3/6MM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728386AbgJ1WbN (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-omap@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: 11863741 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 C26AF14B7 for ; Wed, 28 Oct 2020 22:31:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A1FCF20725 for ; Wed, 28 Oct 2020 22:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924279; bh=I4VGOHbyf0ZRqGHKiXOqgW6vQHTMxYY6OP7I4Na2/yM=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=x687XRSSTtw8b8wwRnDmJXNpaReplN/hd9PZQi6vGUJw8KLezvvgasNiE9QTxU8tY KvGX3YIETfnK1Bmh/NrHiYGQQ0srhWDGpMm/X7ME/UwVQ8n9IDdB4iQdYPojQ7U+ow OvDmTinaOpVVNCatJTLBWfc3UJdyDSy7OGPYWQB0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387862AbgJ1WbS (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-omap@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: 11864331 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 967781130 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 779A6208B8 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=B8WG71P+W1ryYQ9WPC3BJxadf/DTOrMbHaS3Qz3FRW5/nf6R0fWLacmyeYisNYGTK 46owH/hhX/swWO8KtlLLsya0PYcj9TOfcsUz4UJZSF0WamiUn6gEdyVE3pSh4nQ62S pAYe5BN00EqbSWNgLw4h37PsMqYbTs9O3SGsX6+E= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387878AbgJ1WbW (ORCPT ); Wed, 28 Oct 2020 18:31:22 -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-omap@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: 11864327 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 2049E697 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 F195820838 for ; Thu, 29 Oct 2020 00:31:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931518; bh=AZNzKh2ohpoO/6BLcNnlJmCZPDIsCIceLmT2SxtgDgQ=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=uTkV3a2FcoGrqzbFf93MBeS3kZ85K0rJrGEKJXvfcZ9EESqk2eUZ4J1wzPw3f60af mrCmTfakU24ctRlcGwM4c/ajYkf85br/3M6fmVOEHg4l9iM3m/6uh5Fqneny8UdgOl YsUISnIUgf7ohzMXNw3Nxrxdz94ZgC2rBbgtfYao= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728634AbgJ2Abx (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-omap@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: 11863749 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 C3FF714B4 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 A41542070E 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=xEQBrLpwj/7EQXkT72q5q7vK6J3DQAuCChh9ZT82uqJqEalI5LX5QwCGie4FQxGlq BH+mGkhkhnUNhl+tUsRmsCbSHoPD5jhyp4tbCiRdxtTEEkbh80DTX7W4abo9rPKDaT +RQJ0xTKwuD9P6mjS2q0itVqpLFg1Nh6v3ri06UY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387923AbgJ1Wbe (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-omap@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: 11864321 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 B73801130 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 95A0C20829 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=AnNRawZo9CP5GccantLfOMPKm5NA4UfeeFy+xYPkq6MiZiXNdwbfTootEU22hqsH9 FPCeLMH58X3NHMpnEEhFRZiu1OBXNY4GJ7Onzg0t/6V3CNMYDZef7VcrKQbNuC0j1B Cc2Z7ub9kLp8oW9CtNA5wWF+BPsyutZqCuWCJnfA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387906AbgJ2Ab0 (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-omap@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: 11863753 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 9BC2C14B2 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 7A30F20725 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=DmRPg7OQmwat408AEsbDwS3pr8xrAWEx6NjPO5StvFjK7+73nD2y8BYM5LzwtPL19 DHCJjxpERbxzN2pdsAaHuY75hFKE+QO7ksIDytNieyPG4iqx8NybUe+pItbgHubZpN FWcBIusSKDv8+AblJNAfT1od+EPZ8+Z4ApDDKmTQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387947AbgJ1Wbo (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-omap@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: 11864315 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 19F7B697 for ; Thu, 29 Oct 2020 00:31:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ECC5D2080D for ; Thu, 29 Oct 2020 00:31:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931482; bh=NtNH7D40QGNdS9vk2EdOyDEF6Xs9DwZ2/jhZdWW1I4k=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=D0s4HO5HIKxHZ2T5Baj0FVHBM3VKIKJpI8MVBft4FYHDmduTiy3vcPK8B6i0edGJI dw4EyFOQVyBaYeG0eSCcEjUAI/ABrNtpaK2v/74HmNVay5tHqv+VSiM5c/guQQGZaV 6TbvpKFU25UnwKDJErSowlfjGQe+MhXnruf80hLg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387967AbgJ1Wbt (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-omap@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: 11863755 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 BA58614B4 for ; Wed, 28 Oct 2020 22:31:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 989EB2072C for ; Wed, 28 Oct 2020 22:31:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924317; bh=6CTWCGbyQAtx0G1AXAZ/IGJa/HD7vtf24bL9BqFzf5M=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=TQNEcB+ht5hwWGvekvDAUkP4QXk/MZwHZZF8DGmvvWzynuhTbXBA2M593QILjnKbP 7EgD4xbdJL20mkWm2/XKB6LEIhKx43WIC9rNK/eayLPcu/Q2/a6FzvkskJXj7VRwiY ZnZ3MaDBZlAIpvCR4aXgZwMBtimkVV17KM79ezFA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387986AbgJ1Wby (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-omap@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: 11863759 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 68B1814B2 for ; Wed, 28 Oct 2020 22:32:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 468A120720 for ; Wed, 28 Oct 2020 22:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924321; bh=KQvsd/GN1hTQrRV7vizN30cYl3mHAa2c/7DfIu6q100=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=sXSgMlrILqP3IHBJKTjYn6OLs2s6TwTOJnn4Zk38sxsvsuBgatage//2f46g+nWSH yp9E0GplCk+X4erq/G9TzJU1mSlVY3EjNFTNlFNSMYHJYnGaInwmuP8MOR5RjT4nC+ Xz0dWvwsRRN/MMfAqimWo2EL7yjQn3Ac5/2zj9fQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387993AbgJ1Wb7 (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-omap@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: 11863761 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 0754714B7 for ; Wed, 28 Oct 2020 22:32:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D8E6320738 for ; Wed, 28 Oct 2020 22:32:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924327; bh=cAhBoKIoMZagz11woOBG7hID+3n5gMfP7bvBT6bjHOU=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=D88X3t2lEhKphVpEuDNvs1PqNeB4GqOv5s4SC4A8l+0FdYrBefHlvTvWOyaaue/5b YCA0IF5zuNZOYiIXgKBaRK4DY1TlFxDH8pRxHOUtrhWdeZABj4j9S/12Au1H9AOtb0 d1Z+SeqdeMOzxul/UJ3mys0tMqV2o7Ve19Vvr/ho= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388001AbgJ1WcG (ORCPT ); Wed, 28 Oct 2020 18:32:06 -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-omap@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: 11863815 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 8E0AE14B4 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 6BEB420731 for ; Wed, 28 Oct 2020 22:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924484; bh=wz+IKzfwHxh53st+TGC3U3wlSd7RW2J6DpRk3hadvzE=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=VX6unKLPsVU9gqc8qvOYqqCivhxzkul9sWZs8VBL7MiEVoPJbGS0fOmnJ1kDFqzGt SmhMd1v34WG0tDOI9M1Nn7lN2vLlhy96eKA5ucV9gfwfrJvFY5evfsbnWdBGWvOYeK z6KfMvtYeGxXBwm30o38F7xbvZAIig3SxdVh2wFg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388051AbgJ1WcN (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-omap@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: 11863813 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 5903414B7 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 3818720725 for ; Wed, 28 Oct 2020 22:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924484; bh=hVk9ja+3hAguuqm5mEhVctqclI+AabazSjJrPiDpUHs=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=kErY2ISa5fnjX4bpmvJdaTddV81AZ3qg2h4eV058MZSyFkaoNXJGuTO0M47twsFPV O4tKgqzbgj2I2UZ75SEEBUPYV9ZoTm6Kh498ZrvHEw1bEnh2PvmeAlTmknLhZNvnUG NOvAW/GeaED07mJqNi7LsltvU5/2YHEgPiH+kRLA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388057AbgJ1WcP (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-omap@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: 11863767 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 BC5FE14B2 for ; Wed, 28 Oct 2020 22:32:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9D09C206CB for ; Wed, 28 Oct 2020 22:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924344; bh=e2bE8ay3FKMMRP7flhNzomhc5bqCNWYtJ2nVgour3Ew=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=owSK3LNMxBLGrlBkgZARk9vuRVtT8lIF+ZklAgmFxgv2XXtE1jtI274rd+LOgtFs0 F+hHid73MkORAMknXScR63BPtB8czrdJnV9kLULoEjxVKRqPWoigF0HPyO6NoLYG18 W3iY08OMtWm+ZyWf3cR6EnGnMz38mLW3GOt0i4OE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388076AbgJ1WcX (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-omap@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: 11863781 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 E209F14B7 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 C241A2072E 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=meaQ0IR2jwXG9zW2MTz/Y7kVlJwyJ/afU4Plo2uMxQw=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=d+jhgyiJFh1VDH+sqFp2Xr8ssFhdFnx9AlgfBcPx7Y2nK7oJD/XV0+xXEW84HPWOZ 6lJ9MXasNIHga4MHmTyZbBelfVl4Tm5NNyHdFenKsR0CcBPbpfdvsg34G5ys0YmWyh jC/ntPKhYIGhu3VnR67qweHbUQYAz6+7ulQUB7vc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388099AbgJ1Wc1 (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-omap@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: 11863809 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 E774314B2 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 C65FD2072C 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=He6kvGcAefsShwOTwfIjf4Swq1JS5787ooO9Nyc8tez30sy8krs4h9BeGE3wFp1Gn S7c7nhwGvR6Q6zvO9yBOpKW7nErqHmdqtpbj6CykKK8geybMKyef6lsaBFutNJ/pYT 5IIdWA/Vec2z/E2nsrU3JpUbgMACmR7A1GUEHBx8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388114AbgJ1Wci (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-omap@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: 11863783 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 2468A15E6 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 017C62072E for ; Wed, 28 Oct 2020 22:33:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924385; bh=zdRGMRVPKz9yuSK0z14f5hzpN6zstW986VAYTBfkvEs=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=pZYqYj6xLkbgSjPdzdP2/MxL2aRKqYQJO8SOPrpoza8a+Mr29flRGRrtGZPoBOquF AlNUZcBCZcphhsO76KpBKWluVUgYpn+ueUfR5X9nlL5pLtjeddCUFH5okfYQCBMAim TrrPmwsnOz/Bj+di1yhvbncf6WlEybMQp5EQHNeo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388084AbgJ1Wci (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-omap@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: 11864311 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 98D61697 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 74A19207DE 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=AKFGMX1eienhEzt45oVcNHoqYPeBad2odAOuJUY2p+PJPgfGqZM3ZT3FrbBCLeZSb acB3cGmX2mCvywEJBvnHTp+qKh63K5uE9uQSvRYdJvRIwOnjMfDAlfWAzjj583NnSI YTch4BOj8XFnemnhqlPRASe6AELcrACRsdftJMJU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726454AbgJ1WdD (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-omap@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: 11864307 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 B9CE6697 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 959CE207DE for ; Thu, 29 Oct 2020 00:31:13 +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=RvB4xoPNy1WLUfLrfzlS2u8JZCk4GRinAyQDU6vbMbAe64xrq1Ic/yyykD396jb7z kzy9gqbmZcNezcReqX94PV7Zdm8LXnwZzsaVxfHc9j9BIhdLYfgTvvOW+yMSTJt7Y4 5U8okm1l+CqtEtjG3shbRutPqq0Sp/lO3ZvJv6Y0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388094AbgJ1WdF (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-omap@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: 11863825 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 561CA14B7 for ; Wed, 28 Oct 2020 22:35:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3578320725 for ; Wed, 28 Oct 2020 22:35:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924541; bh=/opRYDoUP2hkyGCV09IodIsiWsmlN0SL1QF+3h41Rxg=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=WUf/+JiF82wyHz1cLOEC+tGqq87/Ms7C/dvRpQ6hIYo45HZNkHGTiBoHtRvXktquj Mnz6haYG1KIWQTrKF9F+Z7qUEYtGsr78epmgcezj7m9+7JhqDaEmno4JvGVyFqlWVn UkEVstZ2YYqw86Vo5o42gKmp3HRmbEJoHiY/gTJE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387922AbgJ1Weo (ORCPT ); Wed, 28 Oct 2020 18:34:44 -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-omap@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: 11864299 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 A3369697 for ; Thu, 29 Oct 2020 00:31:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 816C42076B for ; Thu, 29 Oct 2020 00:31:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931468; bh=ifer0qFpmgpScVnZn7aVvw9lQMczxYrypi1yqr3rAwI=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=nKmqyQ5/hufAEYzMgz7oQM9wjHoWJbPY/vbDUli+vbeC4Mu3KGnaJlsWN8vkeLKWp 77hcp6bCoRqUUBRamLB9bv/GPLpxEDCLM3Qb6uLpCoxROQek57frnn/nORtVpRDKDr 08XqXY8tAhJWADgOrOaG50Vt89NgZaTreo3ZrdlA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388568AbgJ1WdF (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-omap@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: 11864301 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 D8C441130 for ; Thu, 29 Oct 2020 00:31:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B54562080D for ; Thu, 29 Oct 2020 00:31:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931468; bh=AYpOYrd8NHd0IN5fv60ahZIh1mXbfbbDY1XDX8gfWo0=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=ctdUtDbd71JquNhgR4G0avUMvUr857Gp+9lvbADs58w0IXkXlaF1r+yaxgJtQ4Z/X A/ZM9Syv4lc9NcNQidDa3+ZQc1QYgH4rN3yGdxYfm618XFV1cNEcsZArMIyAlP54Ko Lq+bjt7pj0s0XXtx6cS3YhAvjUkazGMWfcEctcL4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728318AbgJ2AbI (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-omap@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: 11864297 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 E3DB0697 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 BFC7E2076B for ; Thu, 29 Oct 2020 00:31:00 +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=EvCGSrJbdczcVdhmMLK9JvM7r8sRWUraMZqm2XdcVVY5iXe2dUEujGr4NPv5VSFsU AXQ8i3x/ScGnpbhx0snetiqEh+8mhm78FG+HTsMMOJuMkWX2SonT1kx0VyiOY5Bvd/ QJzc4OyTMTkj1Y1CCDjneH2YFpVESTRgODgA2UxE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388607AbgJ2Aaz (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-omap@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: 11864291 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 97CF9697 for ; Thu, 29 Oct 2020 00:30:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 750A12080C for ; Thu, 29 Oct 2020 00:30:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931446; bh=e2fW9UlRkr3YVkKznCBWN2m98FPMSwPhDye4IxYMbZ4=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=A7g4fVJjITiVyOBg3bWq+pK6pIT87NgckqCXYp6Ib32CuGDw76e9hOBDKoAJcjt8H DWFy8qu1kfHqZDa1JpMQX+pEDjPwy+kzTnSOKyDIHmC2RdLHK/CwMUA5nkOryoeqiO 72+I3arjw2RyhSzxtzNmPpTiaBfTE2H/ENUhYHLE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388179AbgJ2Aap (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-omap@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: 11864287 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 F1E8B1130 for ; Thu, 29 Oct 2020 00:30:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D3126207DE for ; Thu, 29 Oct 2020 00:30:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931438; bh=bjtNNGrQ1Gy69nItNmXzX7/lnZLGq9l8CRTCQoueuT4=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=bzg5d1j5Au+cc1VkjZaI/+aFaA7jF/1xS2l+2XvOLRfTv/pfrXiRAykFeIvFWV4VE TfXNkUsBVIe6XVmaz98jmtZKjpJo2wrcluo8R+1mNEpXQ6E+qElx+bYWv1d+7Hx32c zsTFZsMjHnA2GHlUfvhvU6/dqOIdu+hqxAGY4unY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388577AbgJ2Aah (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-omap@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: 11864281 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 D41A4697 for ; Thu, 29 Oct 2020 00:30:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B3905207DE for ; Thu, 29 Oct 2020 00:30:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931435; bh=6ehR7YXqa9nliZWFk/43rNiUaT0bFg1g+JVzRLztlkA=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=Ui4CqXXB+fJwws5iTIXeoH+VTuhJbOF93I4yhItME2oC3oioCcHT6F+TTMQxq7Cw0 xRxKJtjHNmzRVsegPrBtbTu2DjGlAH6CBztyJxMPbARLpX6LTxn1bbRX+R2z1VBxbS aJ9+dJMCl5s1rPCTgvar0VgspjfOOfyhj4tU+hFc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388600AbgJ2Aac (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-omap@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: 11864273 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 5603A14C0 for ; Thu, 29 Oct 2020 00:28:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 351B52076B for ; Thu, 29 Oct 2020 00:28:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603931293; bh=eWfEGkJKN4hzXyneYZiCS7LVfHIUvAWEodm+KnOsw1s=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=W3IYCPZflU/iEeZS4ZzpJACG2fhGQZAvwac6NA0q66OFxkFFziH+zy0c7OmCOPM4W k/SwFrE5qIU2+ze8hyua0qJbRUxNlyQr0q3qlXtfyHBf6+VCB28k5bA8IENbsdb2PK voDAkks6w6gKryO+c1dY9AYO3vm5f3NgR9TU6Olk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388388AbgJ1Wdd (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-omap@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: 11863859 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 061CC14B4 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 D7C1520747 for ; Wed, 28 Oct 2020 22:36:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924615; bh=bqv9tuXjLzuFjl/e05MHC5F387twPoXZ645TcerkI5w=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=IHSc3HD8iedFuqTnEQ+9AXWYewBwFkWPfw7xFy6uWfshShlF3pzGWcvEgFZUHT/yo XH1RjKBEEgZ97sSLGrMUpUDan/gdWMBK/0iMJqCUbiO0Mr5DaUKTZXSdQkUvTUtUJR XJ50rEJwZT9dueuX/sTAj/+doJmvGH8nA7cYpd5Q= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388336AbgJ1Wgs (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-omap@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: 11863855 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 840E114B2 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 6465420738 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=OfZlL9aQEQE3QSSB2pmY/sCvsP8mnpTHHJBF/Szt4AK57Bm/8Ur12GBQrDDyyxO1c uw/U0vuB9swDeJ1sKjx/Dhcn2PDE5s75nUBBC7xaHmyODGGm30yKBnOQqTTby32iKu u6slvp719NmpkHwhRvuml3rQkN+u/amz5jvubkek= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388368AbgJ1WgU (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-omap@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: 11863841 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 935AE14B7 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 72F3E20714 for ; Wed, 28 Oct 2020 22:36:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924581; bh=+3+rZMhFJYQcM+CPB1sCdkixsb4UcB1JJHItd8PmXwM=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=oeSI92G8sKZqFqDXVv+6ZKVe9iM1qgXuyMqak/8FP7/aBQ+yYaybLH5Io3KRLHfbi yUGBChfR0I4C0CyT9X+Wjd8ydRJGogkUHlM8Cft/McKvccn8zRY9f3drNR8EuEVT+P 1u1at9SNGRxaLWpuaMQizGrDFppPeOIi0H+33rPE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388363AbgJ1WgU (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-omap@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: 11863831 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 E10B814B2 for ; Wed, 28 Oct 2020 22:36:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C2F4D20714 for ; Wed, 28 Oct 2020 22:36:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924572; bh=tAc+eA+rqS8xp2/W/3QiNS5pvqKD4MUkDIEkIoRC2/4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=YhbwBzmA8IP7P0AzPwWi3Kb4AMTww64sy5NT/Z6nfEr9xpj1RBd5Kth4kMCYUFbMo H9exrLEK69qiIFajPGho1oabfXcyLyl/BJEPYdyu4y1adJdsGuwIzCRGA5zsY3dXSM ZA6DVJS8CkDTW3jOy7kVNUFpbgF6fA7+APAFLGG0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388287AbgJ1WgB (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-omap@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: 11863827 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 9ACAB14B4 for ; Wed, 28 Oct 2020 22:36:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7B10A206CB for ; Wed, 28 Oct 2020 22:36:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603924562; bh=B/Vu+6xItSMaZHGt13GUipfykI5xbdYfX/hIHb/tkjs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=XIqwtP+gosPnJoL632d+tTIo2rOHlOOV4yZqBVjtytafyfYjFF0B1X6CmHaO3P4pa W8Lh/33UmOZTyBz5LVRqRuAvG8aUy5hgi2MqqgWyN66TI2kDmEX0+AEdyQX06uizdm UADPNhO0I4RUY84wv7bCnuUbsEBWyY3jj6Ev82Lc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388291AbgJ1WgB (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-omap@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) {