From patchwork Sat Nov 28 16:23:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11938517 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43010C83023 for ; Sat, 28 Nov 2020 22:22:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0ECB8223BD for ; Sat, 28 Nov 2020 22:22:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="prOJcy2x" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388148AbgK1Vta (ORCPT ); Sat, 28 Nov 2020 16:49:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:50412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732958AbgK1TEr (ORCPT ); Sat, 28 Nov 2020 14:04:47 -0500 Received: from localhost.localdomain (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (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 4FE55246C5; Sat, 28 Nov 2020 16:25:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606580742; bh=0GDVpEMQIXzGb1fn+CwDaBS9YHK7cVYXGJZu8f49WHo=; h=From:To:Cc:Subject:Date:From; b=prOJcy2xWDkFPXopRVWX67QeuhpT8eneXjTwKyYRGIs4fMU+ECc+9pAdPWqVLO7nV OmFHSWaGBOrl+dFa9hCrTF5x8/5xGJPNPV+TjWjJtRF+4D4wDABmUzbOZmqEL1DIlP MOULK/H033aBLtgF1oqCx3hxv0GTPJgPPKEQ3qiI= From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Jonathan Cameron Subject: [PATCH 1/2] iio:health:afe4403: Fix naming of tx supply to match dt-bindings Date: Sat, 28 Nov 2020 16:23:33 +0000 Message-Id: <20201128162334.382837-1-jic23@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron These have always been different and the name tx_sup-supply that would work for the driver is rather nonsensical so let us go with what was described in the dt-binding doc. Signed-off-by: Jonathan Cameron Fixes: eec96d1e2d318 ("iio: health: Add driver for the TI AFE4403 heart monitor") --- drivers/iio/health/afe4403.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/health/afe4403.c b/drivers/iio/health/afe4403.c index 38734e4ce360..94bbfc065bed 100644 --- a/drivers/iio/health/afe4403.c +++ b/drivers/iio/health/afe4403.c @@ -486,7 +486,7 @@ static int afe4403_probe(struct spi_device *spi) } } - afe->regulator = devm_regulator_get(afe->dev, "tx_sup"); + afe->regulator = devm_regulator_get(afe->dev, "tx"); if (IS_ERR(afe->regulator)) { dev_err(afe->dev, "Unable to get regulator\n"); return PTR_ERR(afe->regulator); From patchwork Sat Nov 28 16:23:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11938515 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3830C8302D for ; Sat, 28 Nov 2020 22:21:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9214A222EC for ; Sat, 28 Nov 2020 22:21:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="JPsXPi14" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387395AbgK1Vtb (ORCPT ); Sat, 28 Nov 2020 16:49:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:51130 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387397AbgK1TGz (ORCPT ); Sat, 28 Nov 2020 14:06:55 -0500 Received: from localhost.localdomain (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (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 4AEBA246C8; Sat, 28 Nov 2020 16:25:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606580743; bh=05mSPJnUTnmxcfBvZBO9a3LSl9kLzh0/TNk7myUgmIo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JPsXPi14NXFk4547RjZgxhX/+i6s17vch0zN378J0JAu8Wc7UNNrJH73ghl+4/2r4 3LRPzs/rpeiC96k6Zv15MCCZkZ7gfXfu47z2ITbJugJajgGq4PjuTeQM8QA6qVz5bJ F2Qtvo1BB5dKnDtJDDqBh0oLIBokNpAU5bzBDOh0= From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Jonathan Cameron Subject: [PATCH 2/2] iio:health:afe4404: Fix naming of tx supply to match dt-bindings Date: Sat, 28 Nov 2020 16:23:34 +0000 Message-Id: <20201128162334.382837-2-jic23@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201128162334.382837-1-jic23@kernel.org> References: <20201128162334.382837-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron This has always been inconsistent. The binding naming is better so lets us standardise on that. Signed-off-by: Jonathan Cameron Fixes: 87aec56e27ef ("iio: health: Add driver for the TI AFE4404 heart monitor") --- drivers/iio/health/afe4404.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/health/afe4404.c b/drivers/iio/health/afe4404.c index 61fe4932d81d..95547864fe8e 100644 --- a/drivers/iio/health/afe4404.c +++ b/drivers/iio/health/afe4404.c @@ -493,7 +493,7 @@ static int afe4404_probe(struct i2c_client *client, } } - afe->regulator = devm_regulator_get(afe->dev, "tx_sup"); + afe->regulator = devm_regulator_get(afe->dev, "tx"); if (IS_ERR(afe->regulator)) { dev_err(afe->dev, "Unable to get regulator\n"); return PTR_ERR(afe->regulator);