From patchwork Thu Dec 30 17:48:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701558 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75C64C4332F for ; Thu, 30 Dec 2021 17:43:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241487AbhL3Rny (ORCPT ); Thu, 30 Dec 2021 12:43:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241495AbhL3Rny (ORCPT ); Thu, 30 Dec 2021 12:43:54 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C91FC061574 for ; Thu, 30 Dec 2021 09:43:54 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 8C772CE1C9C for ; Thu, 30 Dec 2021 17:43:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AEBFC36AE9; Thu, 30 Dec 2021 17:43:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886231; bh=+GrkgofJmAWmPsrfqNr19/E4AxYhGw+5wWhi/xtKOUM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Yo3gljo1HpWLha/1qrEBKunkekDU0C2MxQwRTd7l2Vy9e7b8OxwD7OAxoeQAsZAP5 9pJxjvJhhTOGkRrWnNdPf5kwZOdO/tROrFhggD5k/eQbor4h9kBPDZtO0jFvoDSG2i 9WJvjiCeAtia6Si7E8vULkLcagGIOglc7/+fEZULUPX/lmzSC9CsgZMSba1FcYukTC wrwrIFQtmNq/2cWbrCVRbAR/TedtXhkS0XFYz9X5RCDN/hfIo6+rJTh1t+lA/0DrpL u9cBaxIwD2ig/wRxsRyT6txngWKEethK1IKPhkfTEgUGbJKFUFf7aG9zSYCkOlFxq2 CJQaU0kyJpxdg== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron , Matt Ranostay Subject: [PATCH 01/16] iio:chemical:atlas: Trivial white space cleanup to add space before } Date: Thu, 30 Dec 2021 17:48:56 +0000 Message-Id: <20211230174911.78291-2-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron Having a space after the { and not one before the } is inconsistent and good to remove examples that might get copied into new drivers. Signed-off-by: Jonathan Cameron Cc: Matt Ranostay Reviewed-by: Gwendal Grignou --- drivers/iio/chemical/atlas-sensor.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/iio/chemical/atlas-sensor.c b/drivers/iio/chemical/atlas-sensor.c index 04b44a327614..a8211dd20b35 100644 --- a/drivers/iio/chemical/atlas-sensor.c +++ b/drivers/iio/chemical/atlas-sensor.c @@ -589,11 +589,11 @@ static const struct iio_info atlas_info = { }; static const struct i2c_device_id atlas_id[] = { - { "atlas-ph-sm", ATLAS_PH_SM}, - { "atlas-ec-sm", ATLAS_EC_SM}, - { "atlas-orp-sm", ATLAS_ORP_SM}, - { "atlas-do-sm", ATLAS_DO_SM}, - { "atlas-rtd-sm", ATLAS_RTD_SM}, + { "atlas-ph-sm", ATLAS_PH_SM }, + { "atlas-ec-sm", ATLAS_EC_SM }, + { "atlas-orp-sm", ATLAS_ORP_SM }, + { "atlas-do-sm", ATLAS_DO_SM }, + { "atlas-rtd-sm", ATLAS_RTD_SM }, {} }; MODULE_DEVICE_TABLE(i2c, atlas_id); From patchwork Thu Dec 30 17:48:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701557 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD8E0C433EF for ; Thu, 30 Dec 2021 17:43:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241494AbhL3Rny (ORCPT ); Thu, 30 Dec 2021 12:43:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241488AbhL3Rny (ORCPT ); Thu, 30 Dec 2021 12:43:54 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED376C06173E for ; Thu, 30 Dec 2021 09:43:53 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8B60761710 for ; Thu, 30 Dec 2021 17:43:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96676C36AE7; Thu, 30 Dec 2021 17:43:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886233; bh=yKuP9Z0i/msxNggKUVioOGQoiNk8KjSa++EANEf7NqM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s0ACeqAATKSnKeCeJP9Xvk3ZMpUIce9HZ5vv3/tyeqqEQDTHE4qRELTrjCdypOc+7 qllnvxMGZRsp7ut74tLWgmJYUX4yvpnYXF5A1FXj8pu5CRG6RE5Z/tUn8rlf1ZVPkg S9uVwQ6t3BQwpJw9YwwWC9b5txcxC1l3CcVzAd7+ga35z6m2LhGayRyoTiBVjGD1OX dyujuQ2NOjG5ZbRwjAIE7MS7JGKPZpUL2uEcpTvRRXsDcxdF9jdMkNJkeGWQjgs8mm gPx9XGH2q5VuTuIcAVNRQr4oILxbu4NK6jyLFQyb0x8W8IsJ7G/fci2JliQQ72UsN3 p5iLTaVNv7ARg== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron Subject: [PATCH 02/16] iio:light:pa12203001: Tidy up white space change to add spaces after { and before } Date: Thu, 30 Dec 2021 17:48:57 +0000 Message-Id: <20211230174911.78291-3-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron One case in here was inconsistent and was main focus of this patch. In that case there was a space after the { and none before the }. The second case was then inconsistent in having now spaces. Change makes sure there are spaces. Signed-off-by: Jonathan Cameron Reviewed-by: Gwendal Grignou --- drivers/iio/light/pa12203001.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/light/pa12203001.c b/drivers/iio/light/pa12203001.c index a52b2c788540..528fa5dd2b13 100644 --- a/drivers/iio/light/pa12203001.c +++ b/drivers/iio/light/pa12203001.c @@ -452,14 +452,14 @@ static const struct dev_pm_ops pa12203001_pm_ops = { }; static const struct acpi_device_id pa12203001_acpi_match[] = { - { "TXCPA122", 0}, + { "TXCPA122", 0 }, {} }; MODULE_DEVICE_TABLE(acpi, pa12203001_acpi_match); static const struct i2c_device_id pa12203001_id[] = { - {"txcpa122", 0}, + { "txcpa122", 0 }, {} }; From patchwork Thu Dec 30 17:48:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701559 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01082C433EF for ; Thu, 30 Dec 2021 17:44:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241508AbhL3RoC (ORCPT ); Thu, 30 Dec 2021 12:44:02 -0500 Received: from sin.source.kernel.org ([145.40.73.55]:60248 "EHLO sin.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241506AbhL3Rn6 (ORCPT ); Thu, 30 Dec 2021 12:43:58 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 12509CE1C9E for ; Thu, 30 Dec 2021 17:43:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAF5CC36AE9; Thu, 30 Dec 2021 17:43:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886235; bh=++d6l3JwUFYmjYbUTMBYB9vOnn5DJlDL3AA/Fnv1Rug=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OxMcK9Z2/OhmUNy04z2ukKljeUG+C8iXP/BUdkBran9RiCYEzkuzA9+GsfHXBDxIE CT4i1kcRqrNEzVq3ALEdhIe2V69rel4ZaL201SoGbbtpBCyg6sthtXUGhuBTr/Xhf1 Kl4/wBlj6mWeu4f7fuyHCkKWzp2cIMU0QKeGkN01/HRpvjRarTSxIV4z2V2R+NeU+C AFJKhpj8NQY644lOo+hDtFcw2BcJkVYTe+IDHp9EHO1T/1n1XBK61Xzrdoa6WSReB9 XaBh3wA/dkuxteSIzkrrFL+I78SP/h9TKg5D0IhsNZpLkrdWQ1uCS73Ps9b1JahKrI zC2PvN3CpYT+g== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron , Parthiban Nallathambi Subject: [PATCH 03/16] iio:light:vcnl4035: Trivial whitespace cleanup to add space before } Date: Thu, 30 Dec 2021 17:48:58 +0000 Message-Id: <20211230174911.78291-4-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron Having a space after the { and not one before the } is inconsistent and I'd rather not have examples of this that get copied into new drivers. Signed-off-by: Jonathan Cameron Cc: Parthiban Nallathambi Reviewed-by: Gwendal Grignou --- drivers/iio/light/vcnl4035.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/light/vcnl4035.c b/drivers/iio/light/vcnl4035.c index 0db306ee910e..da2bf622a67b 100644 --- a/drivers/iio/light/vcnl4035.c +++ b/drivers/iio/light/vcnl4035.c @@ -651,7 +651,7 @@ static const struct dev_pm_ops vcnl4035_pm_ops = { }; static const struct i2c_device_id vcnl4035_id[] = { - { "vcnl4035", 0}, + { "vcnl4035", 0 }, { } }; MODULE_DEVICE_TABLE(i2c, vcnl4035_id); From patchwork Thu Dec 30 17:48:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701560 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70171C433F5 for ; Thu, 30 Dec 2021 17:44:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241501AbhL3RoD (ORCPT ); Thu, 30 Dec 2021 12:44:03 -0500 Received: from sin.source.kernel.org ([145.40.73.55]:60268 "EHLO sin.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241500AbhL3RoA (ORCPT ); Thu, 30 Dec 2021 12:44:00 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 82D05CE1C99 for ; Thu, 30 Dec 2021 17:43:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D66AC36AEB; Thu, 30 Dec 2021 17:43:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886237; bh=GjNUJomAxL5bF2tNlVY7fA2isGUL/eRjyM6F9PCfdzQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WBTKoBwpt4jeoAC2Tzcjq35qXNR0OGMIqdPjNvDxbYgcmpFxO2fMkthvS7yburOKm h+KcYrJVLqVNkPO69RnxfOhT7wZv6dJWTzIl70KgldGpV0Rp6QwP+fsyYGJKq4F4ld FjpBW9nNnnWKRiYxMS8uDLB56h1k91K9Ft91S9jH5xGzft0cpwhX7RG+Bn24/h0X8U 0XHZVAL8bLaw94osgAMUf+nXGUDUGS6J9DMdgciOVLrVghfHDSqklY7nZcEfMpL/Wf 3eTzzNBHLfjmaKdf4w7IoU0jjA0Ils/lLScU7IAsFnF/GU0E3hUUTPyRWF/qCl0qlu 27w5+bknvJFXw== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron Subject: [PATCH 04/16] iio:light:us5182: White space cleanup of spacing around {} in id tables Date: Thu, 30 Dec 2021 17:48:59 +0000 Message-Id: <20211230174911.78291-5-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron The spacing in this driver was inconsistent so make sure we have a space after { and before } for the two id tables. Signed-off-by: Jonathan Cameron Reviewed-by: Gwendal Grignou --- drivers/iio/light/us5182d.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iio/light/us5182d.c b/drivers/iio/light/us5182d.c index 96e4a66ddf28..1492aaf8d84c 100644 --- a/drivers/iio/light/us5182d.c +++ b/drivers/iio/light/us5182d.c @@ -947,15 +947,15 @@ static const struct dev_pm_ops us5182d_pm_ops = { }; static const struct acpi_device_id us5182d_acpi_match[] = { - { "USD5182", 0}, + { "USD5182", 0 }, {} }; MODULE_DEVICE_TABLE(acpi, us5182d_acpi_match); static const struct i2c_device_id us5182d_id[] = { - {"usd5182", 0}, - {} + { "usd5182", 0 }, + {} }; MODULE_DEVICE_TABLE(i2c, us5182d_id); From patchwork Thu Dec 30 17:49:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701561 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55638C433FE for ; Thu, 30 Dec 2021 17:44:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241499AbhL3RoD (ORCPT ); Thu, 30 Dec 2021 12:44:03 -0500 Received: from sin.source.kernel.org ([145.40.73.55]:60280 "EHLO sin.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241495AbhL3RoD (ORCPT ); Thu, 30 Dec 2021 12:44:03 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id F3A90CE1C9C for ; Thu, 30 Dec 2021 17:44:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7579FC36AE7; Thu, 30 Dec 2021 17:43:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886240; bh=7XzjijPYp/QZnwesr62fOMsWt/llJGp3aP6b+bwcq7g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dz6ZGIcOy6mzz9JECyWwtgKQgI5A0ihv+LKnvmJicD6NrFInkr6vwUvPkjB2JekX9 kpQn+x1LpCqcAbCPuNPlbxaK6cX0v30pD0jhtyJuVRol6mpzAjdsBhT79VTXdptjBI y12KekjHKoVh92tAkeWg44EEZNyb3UNV0lM3D80cuwV1pxnXfk22oDfQEg7InsNo+h EzmkfLkFrxXBRU6jJMHM5og+U852CsZmoG297/eVEvdjloLGk1F4JJIqb1zbAk15z7 sTTOffA23J/Xq0OcI1QBfTbqnaA4p9iESW81wI0M/F3QNgv8PzzTLmT7u2QmFK9r2b ILeYnMLNDwihg== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron , Nikita Travkin , Maslov Dmitry Subject: [PATCH 05/16] iio:light:ltr501: White space cleanup of spacing around {} in id tables Date: Thu, 30 Dec 2021 17:49:00 +0000 Message-Id: <20211230174911.78291-6-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron The spacing in this driver was inconsistent so make sure we have a space after { and before } for the two id tables. Part of aim is to avoid providing examples of this inconsistency that get copied into new drivers. Signed-off-by: Jonathan Cameron Cc: Nikita Travkin Cc: Maslov Dmitry Reviewed-by: Gwendal Grignou --- drivers/iio/light/ltr501.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/iio/light/ltr501.c b/drivers/iio/light/ltr501.c index 47d61ec2bb50..d1532ef5f08b 100644 --- a/drivers/iio/light/ltr501.c +++ b/drivers/iio/light/ltr501.c @@ -1632,18 +1632,18 @@ static int ltr501_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(ltr501_pm_ops, ltr501_suspend, ltr501_resume); static const struct acpi_device_id ltr_acpi_match[] = { - {"LTER0501", ltr501}, - {"LTER0559", ltr559}, - {"LTER0301", ltr301}, + { "LTER0501", ltr501 }, + { "LTER0559", ltr559 }, + { "LTER0301", ltr301 }, { }, }; MODULE_DEVICE_TABLE(acpi, ltr_acpi_match); static const struct i2c_device_id ltr501_id[] = { - { "ltr501", ltr501}, - { "ltr559", ltr559}, - { "ltr301", ltr301}, - { "ltr303", ltr303}, + { "ltr501", ltr501 }, + { "ltr559", ltr559 }, + { "ltr301", ltr301 }, + { "ltr303", ltr303 }, { } }; MODULE_DEVICE_TABLE(i2c, ltr501_id); From patchwork Thu Dec 30 17:49:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701562 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C824EC433EF for ; Thu, 30 Dec 2021 17:44:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241502AbhL3RoG (ORCPT ); Thu, 30 Dec 2021 12:44:06 -0500 Received: from sin.source.kernel.org ([145.40.73.55]:60284 "EHLO sin.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241495AbhL3RoF (ORCPT ); Thu, 30 Dec 2021 12:44:05 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 3AA0DCE19A8 for ; Thu, 30 Dec 2021 17:44:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08EEEC36AEB; Thu, 30 Dec 2021 17:44:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886242; bh=BF3GPOewNaZl2MF+8NzKdt0Ng2HqV0cnV5JgIt+l2eI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DQIXeyuSEz5fAkWFRmc63CDoDtaTFRA+VoPthTXApFgWt3+E3y1I8xneUa4HMxkGq vCgUU6CqgooRSmBIPJSGqokYD2Yn+IMILHqkltp9Q97H6ekRb6PP5jmBEpdZT8sKVt jl/v/zppu+9SlOOa7SYur/nBQ4yTDgMF5Y5vGf9vT930YEa0AuJoUTIQmSXzaWyK2X Vwq/94Xa0dXBr729pN1sMYWTwOs6sGfTaRLAhEUqYCqwT2DBiky35DSR677576FHeI QgPj3hip5fym0rhMJ76zET0Raej+3vkMW+zkPM3F6B/ZbHOZ2iGXNB/jW5xcT40GFO hWNIn2qc61kog== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron , Andreas Klinger Subject: [PATCH 06/16] iio:proximity:ping: White space cleanup of spacing around {} in id tables Date: Thu, 30 Dec 2021 17:49:01 +0000 Message-Id: <20211230174911.78291-7-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron The spacing in this driver was inconsistent so make sure we have a space after { and before } for the two id tables. Avoid providing examples of this inconsistency that get copied into new drivers. Signed-off-by: Jonathan Cameron Cc: Andreas Klinger Reviewed-by: Gwendal Grignou --- drivers/iio/proximity/ping.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/proximity/ping.c b/drivers/iio/proximity/ping.c index 1283ac1c2e03..24a97d41e115 100644 --- a/drivers/iio/proximity/ping.c +++ b/drivers/iio/proximity/ping.c @@ -267,8 +267,8 @@ static const struct iio_chan_spec ping_chan_spec[] = { }; static const struct of_device_id of_ping_match[] = { - { .compatible = "parallax,ping", .data = &pa_ping_cfg}, - { .compatible = "parallax,laserping", .data = &pa_laser_ping_cfg}, + { .compatible = "parallax,ping", .data = &pa_ping_cfg }, + { .compatible = "parallax,laserping", .data = &pa_laser_ping_cfg }, {}, }; From patchwork Thu Dec 30 17:49:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701563 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E00DC433F5 for ; Thu, 30 Dec 2021 17:44:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241495AbhL3RoG (ORCPT ); Thu, 30 Dec 2021 12:44:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241500AbhL3RoG (ORCPT ); Thu, 30 Dec 2021 12:44:06 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9773C061574 for ; Thu, 30 Dec 2021 09:44:05 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 85F9B6173B for ; Thu, 30 Dec 2021 17:44:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F978C36AE7; Thu, 30 Dec 2021 17:44:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886245; bh=2whoAEVxggZmzEb9eG30jHAk0sR4RAHC9ct/HRxERmg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oEPjE3wkXEPBjJkv8Q7u9mIZNBmR1pS5xD1A+BVlB/UhdGHd1NYvFIZ3Zh6ganvfS HDiLQzB7mG57+4hsI45l64mpuQcfMjoF+E0RqqhdTvkIwnceK01Ri2e355MKkjux00 1zFetygnYiuiJDCkXRCWmyLT2M9uwAg7rIDtc81ABrgc9yTChZoVwZ8kXjV5FCGebZ yiueHfpI/q41b3A1I1sceb1ZTjHtR4dyHbumjxmEvnlgP9WKIDfI50amR1Bw2VEfnt /ZPlRSPDI9FUeBFiHoSsPXCfUbIDXu1PGV/mGI6fivB1ES1F0jLXeDwXpeZ848KECq sVqQk7A3X3+xg== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron Subject: [PATCH 07/16] iio:proximity:rfd77402: White space cleanup of spacing around {} in id tables Date: Thu, 30 Dec 2021 17:49:02 +0000 Message-Id: <20211230174911.78291-8-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron The spacing in this driver was inconsistent with a space after the { but not before the }. Tidy this up to avoid providing a bad example to copy into new drivers. Signed-off-by: Jonathan Cameron Reviewed-by: Gwendal Grignou --- drivers/iio/proximity/rfd77402.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/proximity/rfd77402.c b/drivers/iio/proximity/rfd77402.c index 8c06d02139b6..0ae91963b570 100644 --- a/drivers/iio/proximity/rfd77402.c +++ b/drivers/iio/proximity/rfd77402.c @@ -310,7 +310,7 @@ static int rfd77402_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(rfd77402_pm_ops, rfd77402_suspend, rfd77402_resume); static const struct i2c_device_id rfd77402_id[] = { - { "rfd77402", 0}, + { "rfd77402", 0 }, { } }; MODULE_DEVICE_TABLE(i2c, rfd77402_id); From patchwork Thu Dec 30 17:49:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701565 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 832E7C433EF for ; Thu, 30 Dec 2021 17:44:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241505AbhL3RoL (ORCPT ); Thu, 30 Dec 2021 12:44:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241500AbhL3RoK (ORCPT ); Thu, 30 Dec 2021 12:44:10 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98A6FC061574 for ; Thu, 30 Dec 2021 09:44:10 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 15700CE1C9D for ; Thu, 30 Dec 2021 17:44:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6DC2C36AE9; Thu, 30 Dec 2021 17:44:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886247; bh=cMbdJY3wykoFC4gP6DUiXWlgH0xDPLK8ySVX7sJoRC0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D4QJQXl+d7jPigbahWtoQYvpvI/nFEyNX0gNgGNvh75gshEJ8vHf+WfFByLdY8g+3 3kTuJAfrevGsh39qVtQaCUbDgLyZfXEsJzHqvI0Y0fPeyHmlnQcVI9U184U+VK2z0M sy2RVuNM+QKCS5j+41b0rsrUu/2opQePRzRI28ckPPwK0H7vkqGHAdAtlp3Sv3vN8w CxOHMLDUwqWCkklR2f/hHxNE60dw4ndS4WfkAvRTp1PLJ7yRAs9AeTPxX0an18DWxH DP6iLVJMGJVprZQyaP91sov0myY7tZ5AYf2T6VoE03j9gq/KXdl6IJh7I8kNTuWTCN UU427PV8PfiIg== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron , Andreas Klinger Subject: [PATCH 08/16] iio:proximity:srf04: White space cleanup of spacing around {} in id tables Date: Thu, 30 Dec 2021 17:49:03 +0000 Message-Id: <20211230174911.78291-9-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron The spacing in this driver was inconsistent with a space after the { but not before the }. Tidy this up to avoid providing a bad example to copy into new drivers. Signed-off-by: Jonathan Cameron Cc: Andreas Klinger Reviewed-by: Gwendal Grignou --- drivers/iio/proximity/srf04.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/iio/proximity/srf04.c b/drivers/iio/proximity/srf04.c index fe88b2bb60bc..4e6286765f01 100644 --- a/drivers/iio/proximity/srf04.c +++ b/drivers/iio/proximity/srf04.c @@ -235,12 +235,12 @@ static const struct iio_chan_spec srf04_chan_spec[] = { }; static const struct of_device_id of_srf04_match[] = { - { .compatible = "devantech,srf04", .data = &srf04_cfg}, - { .compatible = "maxbotix,mb1000", .data = &mb_lv_cfg}, - { .compatible = "maxbotix,mb1010", .data = &mb_lv_cfg}, - { .compatible = "maxbotix,mb1020", .data = &mb_lv_cfg}, - { .compatible = "maxbotix,mb1030", .data = &mb_lv_cfg}, - { .compatible = "maxbotix,mb1040", .data = &mb_lv_cfg}, + { .compatible = "devantech,srf04", .data = &srf04_cfg }, + { .compatible = "maxbotix,mb1000", .data = &mb_lv_cfg }, + { .compatible = "maxbotix,mb1010", .data = &mb_lv_cfg }, + { .compatible = "maxbotix,mb1020", .data = &mb_lv_cfg }, + { .compatible = "maxbotix,mb1030", .data = &mb_lv_cfg }, + { .compatible = "maxbotix,mb1040", .data = &mb_lv_cfg }, {}, }; From patchwork Thu Dec 30 17:49:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701564 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33222C433F5 for ; Thu, 30 Dec 2021 17:44:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241503AbhL3RoK (ORCPT ); Thu, 30 Dec 2021 12:44:10 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:48836 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241500AbhL3RoK (ORCPT ); Thu, 30 Dec 2021 12:44:10 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0DA1C6173D for ; Thu, 30 Dec 2021 17:44:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3FE8C36AEB; Thu, 30 Dec 2021 17:44:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886249; bh=qUebMVJ+1QAQ/r7heURBhOv3RJ7fPRvYR/ve2k6up2k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kxRGQ96IjhaVmNGL99AHYEFaXAMj6hU8GgamMh/3fd3ElRXeKjRJOKTmUQxHDYo0M jXh0eoTzRpSTJf+jIgVwko2gb0M7ysPD+7/B5OWXi3MPg85FKwt8W9FDsKDJc5ZQrA V6EDuIYwl6pDPYSWhAOsEXc5l1P7p2Ur+F2FJryDklfrYUedfRRdvMTqyTeF0dXvZ9 tUSCrJ+67n1IZsWExCUcKgacaZFj06ykzeIVQpOG012amAOIk1HpX6/wMA5mpyBTeS 9s9CrlHbhlfhUqOAv9Bp4vdaDNmn2b2+sH9kK39zyiqzNecmpNdaAr2Y9ZJr6HoCQO +3RtRe+nFEQcg== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron , Andreas Klinger Subject: [PATCH 09/16] iio:proximity:srf08: White space cleanup of spacing around {} in id tables Date: Thu, 30 Dec 2021 17:49:04 +0000 Message-Id: <20211230174911.78291-10-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron The spacing in this driver was inconsistent with a space after the { but not before the }. Tidy this up to avoid providing a bad example to copy into new drivers. Signed-off-by: Jonathan Cameron Cc: Andreas Klinger Reviewed-by: Gwendal Grignou --- drivers/iio/proximity/srf08.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iio/proximity/srf08.c b/drivers/iio/proximity/srf08.c index 9b0886760f76..ac1ab7e89d4e 100644 --- a/drivers/iio/proximity/srf08.c +++ b/drivers/iio/proximity/srf08.c @@ -528,9 +528,9 @@ static int srf08_probe(struct i2c_client *client, } static const struct of_device_id of_srf08_match[] = { - { .compatible = "devantech,srf02", (void *)SRF02}, - { .compatible = "devantech,srf08", (void *)SRF08}, - { .compatible = "devantech,srf10", (void *)SRF10}, + { .compatible = "devantech,srf02", (void *)SRF02 }, + { .compatible = "devantech,srf08", (void *)SRF08 }, + { .compatible = "devantech,srf10", (void *)SRF10 }, {}, }; From patchwork Thu Dec 30 17:49:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701566 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37C92C433EF for ; Thu, 30 Dec 2021 17:44:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241506AbhL3RoO (ORCPT ); Thu, 30 Dec 2021 12:44:14 -0500 Received: from sin.source.kernel.org ([145.40.73.55]:60324 "EHLO sin.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241500AbhL3RoO (ORCPT ); Thu, 30 Dec 2021 12:44:14 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 256F1CE1C9D for ; Thu, 30 Dec 2021 17:44:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BE76C36AE9; Thu, 30 Dec 2021 17:44:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886251; bh=2FLqDZnAUk4T1uzuFjmMscKPKH4+noN1yvTwx/2OZ94=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HExVsBr6wUSrgYod3VO63FAlmFJlh5v22Bwznhhwd+ocS1njxk0skG6yKoR8I5Lgp 5aCn94CyWaySF8zZ4gJ4kB3Ggwfm4su0twmr9iEabCQgQJp3uIQcynvvmXy1jfc+nf tUuREgkeK5yLJenh7KJzD6VmU/lR112F/jcxc+MjAdzK+7hXaZG/VUBwrChoAJk6zq Ib/lxrrKHD3gSSAmj+eoUDF3NYdaLyroMmiVd3GTSgA42MRdTlEA1+/dXnLWXnvIMe zlvL/eZu6vtsqlDxC2PiNwOhh/kuZqoLbByeoQaVdSNLHJXU6PpW2FlBr6XuQ7USdb JV2uGchxtNbEw== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron , Antoniu Miclaus Subject: [PATCH 10/16] iio:frequency:admv1013: White space cleanup of spacing around {} in id tables Date: Thu, 30 Dec 2021 17:49:05 +0000 Message-Id: <20211230174911.78291-11-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron The spacing was inconsistent with a space after the { but not before the }. Tidy this up to avoid providing a bad example to copy into new drivers. Signed-off-by: Jonathan Cameron Cc: Antoniu Miclaus Reviewed-by: Gwendal Grignou --- drivers/iio/frequency/admv1013.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/frequency/admv1013.c b/drivers/iio/frequency/admv1013.c index 6cdeb50143af..849a9ea7ebe5 100644 --- a/drivers/iio/frequency/admv1013.c +++ b/drivers/iio/frequency/admv1013.c @@ -630,7 +630,7 @@ static int admv1013_probe(struct spi_device *spi) } static const struct spi_device_id admv1013_id[] = { - { "admv1013", 0}, + { "admv1013", 0 }, {} }; MODULE_DEVICE_TABLE(spi, admv1013_id); From patchwork Thu Dec 30 17:49:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701567 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56C6BC433F5 for ; Thu, 30 Dec 2021 17:44:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241507AbhL3RoP (ORCPT ); Thu, 30 Dec 2021 12:44:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241500AbhL3RoP (ORCPT ); Thu, 30 Dec 2021 12:44:15 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28295C061574 for ; Thu, 30 Dec 2021 09:44:15 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BCDDB6173B for ; Thu, 30 Dec 2021 17:44:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30F36C36AEB; Thu, 30 Dec 2021 17:44:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886254; bh=Ifd4Ce35sAzJ1B66274VbKqgP2IboGm+AwhlRu7Zzo4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a4vpE/oCS5p5qpVhZTMl9dD+Syo3LqCHbj/IUHfbNW18tyNBz1c4rJbkT2rchOqrc 52s2vCref+xh605uP1DMufj1+xR/8gy+fyKyIjyTul0b0zS4Jq2gUR9ue/n9v02sJg OkR9V9bN/x1p3Fq4G0ZGCvbADdHye3DcRgzkeQcPXXBdd9uk9c3tAZZ6e3AGYoV4rq EY48yWtBqmqOWkJoTYwSouOHzZhB5BR/2yyO3jxZ66DKrU090/O3FjNalmSkP8nTje i5DyGmLDrFvUqwdlwBfD/J4zoDOq5zxMkvieDFZ8xjXZrVqi5kKKSXJhDAasNEP7Cc SC8TjHbEtVsEA== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron , Zhiyong Tao , Hui Liu Subject: [PATCH 11/16] iio:adc:mt6577_auxadc: Tidy up white space around {} in id tables Date: Thu, 30 Dec 2021 17:49:06 +0000 Message-Id: <20211230174911.78291-12-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron Previously inconsistent with space after { and not before }. Tidy that up to avoid providing a bad example to copy into new drivers. Signed-off-by: Jonathan Cameron Cc: Zhiyong Tao Cc: Hui Liu Reviewed-by: Gwendal Grignou --- drivers/iio/adc/mt6577_auxadc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c index d4fccd52ef08..327fff96c6c8 100644 --- a/drivers/iio/adc/mt6577_auxadc.c +++ b/drivers/iio/adc/mt6577_auxadc.c @@ -330,11 +330,11 @@ static SIMPLE_DEV_PM_OPS(mt6577_auxadc_pm_ops, mt6577_auxadc_resume); static const struct of_device_id mt6577_auxadc_of_match[] = { - { .compatible = "mediatek,mt2701-auxadc", .data = &mt8173_compat}, - { .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat}, - { .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat}, - { .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat}, - { .compatible = "mediatek,mt6765-auxadc", .data = &mt6765_compat}, + { .compatible = "mediatek,mt2701-auxadc", .data = &mt8173_compat }, + { .compatible = "mediatek,mt2712-auxadc", .data = &mt8173_compat }, + { .compatible = "mediatek,mt7622-auxadc", .data = &mt8173_compat }, + { .compatible = "mediatek,mt8173-auxadc", .data = &mt8173_compat }, + { .compatible = "mediatek,mt6765-auxadc", .data = &mt6765_compat }, { } }; MODULE_DEVICE_TABLE(of, mt6577_auxadc_of_match); From patchwork Thu Dec 30 17:49:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701568 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8000C433EF for ; Thu, 30 Dec 2021 17:44:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241469AbhL3RoR (ORCPT ); Thu, 30 Dec 2021 12:44:17 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:48898 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241500AbhL3RoQ (ORCPT ); Thu, 30 Dec 2021 12:44:16 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 94C556173B for ; Thu, 30 Dec 2021 17:44:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB86DC36AEC; Thu, 30 Dec 2021 17:44:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886256; bh=9a1Dr+JaeaFig8GEgHh1o2WaJJtnhyYwDzi4OUJ+GJM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sFgcq4U7xzW2UBnP00oBz2AxCOEodRoAKw2syCD8PsyPnEshW30K4BTPztm/uLgiE XcwoiqpK6xM6b26Eo+8SJ/YBBnoIiLS3CI0LPTXRROmwtRkSm1S0sr8wx6S+QaJalV 246PrN05B6JUdO9s2MXmkJF1cS1zdLO9yxMo2VHyIuF81A5coNM46YZmwm8aR2Mvx7 Kb6n33eSQonzFn4gN+yOoH+mfv9SDkac4IeQn+32P2EHrCGSXdgqiIAbOBb/h1g8kM ApAfBgP/qBhyZkd6iraQx3qMgKnvqozSIGML9tnxaz5z2rS0ZCKcvNwi+NpQaoRt9I 6IhlMWj8n7ASg== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron Subject: [PATCH 12/16] iio:adc:hi8435: Tidy up white space around {} in id tables Date: Thu, 30 Dec 2021 17:49:07 +0000 Message-Id: <20211230174911.78291-13-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron Previously inconsistent with space after { but not before }. Tidy that up to avoid providing a bad example to copy into new drivers. Signed-off-by: Jonathan Cameron Reviewed-by: Gwendal Grignou --- drivers/iio/adc/hi8435.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/hi8435.c b/drivers/iio/adc/hi8435.c index e665e14c6e54..8eb0140df133 100644 --- a/drivers/iio/adc/hi8435.c +++ b/drivers/iio/adc/hi8435.c @@ -529,7 +529,7 @@ static const struct of_device_id hi8435_dt_ids[] = { MODULE_DEVICE_TABLE(of, hi8435_dt_ids); static const struct spi_device_id hi8435_id[] = { - { "hi8435", 0}, + { "hi8435", 0 }, { } }; MODULE_DEVICE_TABLE(spi, hi8435_id); From patchwork Thu Dec 30 17:49:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701569 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE8EDC433F5 for ; Thu, 30 Dec 2021 17:44:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241500AbhL3RoT (ORCPT ); Thu, 30 Dec 2021 12:44:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241509AbhL3RoT (ORCPT ); Thu, 30 Dec 2021 12:44:19 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27ABBC061574 for ; Thu, 30 Dec 2021 09:44:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BB7B16173B for ; Thu, 30 Dec 2021 17:44:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92A71C36AE7; Thu, 30 Dec 2021 17:44:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886258; bh=OkcMXqU2PKjdhhKcDgrrf/LBQMi/lh1QknOWib6iwHQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WahFOhSWIq7PU9STYrgvrBPZNqQVVEuTytJTUAr3M58YcMxTGo/0PEDABxpclCDD1 PSmAu9GhARgXL7Wvdm/OaH/buIBc/4r/5MnfPSJBaWkoI7QYD7mWME8z7HS87aFCSW OaZmSmH/wNumIT2wLbmNmsNDi7Qo+22nK/wmXE1ptb5Vo0VmEwZ+MrjGW3VaI+5h25 yh3o1Sgr0LCHbW2j8p1Xp/Pc8FXge8IQppTQWs2rN1tCtJqlw0RMSerEVecOr8ljJs cWof0c/ZBMKlivsuegTg3CGfRc5d5JbQLmJorN5+xQCRy7rKHZ8McoF+UGV/T5Zd5+ gBQXwPo09bUIA== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron Subject: [PATCH 13/16] iio:adc:ti-adc084s021: Tidy up white space around {} Date: Thu, 30 Dec 2021 17:49:08 +0000 Message-Id: <20211230174911.78291-14-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron Previously inconsistent with a space after { but not before }. Tidy that up to avoid providing an example to copy into new drivers. Signed-off-by: Jonathan Cameron Cc: Gwendal Grignou Reviewed-by: Gwendal Grignou --- drivers/iio/adc/ti-adc084s021.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/ti-adc084s021.c b/drivers/iio/adc/ti-adc084s021.c index ce3f5a3814f9..c9b5d9aec3dc 100644 --- a/drivers/iio/adc/ti-adc084s021.c +++ b/drivers/iio/adc/ti-adc084s021.c @@ -248,7 +248,7 @@ static const struct of_device_id adc084s021_of_match[] = { MODULE_DEVICE_TABLE(of, adc084s021_of_match); static const struct spi_device_id adc084s021_id[] = { - { ADC084S021_DRIVER_NAME, 0}, + { ADC084S021_DRIVER_NAME, 0 }, {} }; MODULE_DEVICE_TABLE(spi, adc084s021_id); From patchwork Thu Dec 30 17:49:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701570 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C388EC433EF for ; Thu, 30 Dec 2021 17:44:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241511AbhL3RoV (ORCPT ); Thu, 30 Dec 2021 12:44:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241509AbhL3RoV (ORCPT ); Thu, 30 Dec 2021 12:44:21 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D78A0C061574 for ; Thu, 30 Dec 2021 09:44:20 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7A44F6173B for ; Thu, 30 Dec 2021 17:44:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7843C36AE9; Thu, 30 Dec 2021 17:44:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886259; bh=CPWcE8bxseVIB5XafJFDwwVFa/mzsLzkQX08TUP8lN8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vM/G1r9ew+uLRe4xT4mXz/vMeQHpPHcOUjTB6VF3E2voifqnOGUVEEYJ5tyal/gg7 pd5QMYFV3l9It+mrbwdqdA9WO+naIyvo/777azUKIxGT/EfOTyxCuM2dfPV63rkP9M 9QUWXOpTnz9P41tJt9zWb0clfnoCkNk88mBVouYeCxjXYQcTL4lmsFPgNPVfkrmi06 mmat71t33ed449taym7AgY2LnQI+kst8hW1+WNZwx/9axrduK0LGdOXG29uNZSL2r7 glU8U9x+XJajxwQNFYKMvj2i1O2e5YDUOFtrxLxgd6ZuIg3B7v4fxPbjBnrh6vhBCt KnyL9qEixyD7w== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron Subject: [PATCH 14/16] iio:light:tsl2722: Fix inconsistent spacing before } in id table Date: Thu, 30 Dec 2021 17:49:09 +0000 Message-Id: <20211230174911.78291-15-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron The final entry was missing a space. Tidy that up. Signed-off-by: Jonathan Cameron Reviewed-by: Gwendal Grignou --- drivers/iio/light/tsl2772.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/light/tsl2772.c b/drivers/iio/light/tsl2772.c index d79205361dfa..729f14d9f2a4 100644 --- a/drivers/iio/light/tsl2772.c +++ b/drivers/iio/light/tsl2772.c @@ -1902,7 +1902,7 @@ static const struct i2c_device_id tsl2772_idtable[] = { { "tmd2672", tmd2672 }, { "tsl2772", tsl2772 }, { "tmd2772", tmd2772 }, - { "apds9930", apds9930}, + { "apds9930", apds9930 }, {} }; From patchwork Thu Dec 30 17:49:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701571 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48436C433EF for ; Thu, 30 Dec 2021 17:44:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236158AbhL3RoX (ORCPT ); Thu, 30 Dec 2021 12:44:23 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:48952 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241509AbhL3RoX (ORCPT ); Thu, 30 Dec 2021 12:44:23 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B7E306173E for ; Thu, 30 Dec 2021 17:44:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78644C36AE7; Thu, 30 Dec 2021 17:44:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886262; bh=oofL7NOD6SemSCrNnA9YqAVxzqNJ1TzTXObOU8ZYNgw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G3sb5D1O03R7bIwarxKCyJprprdk1WYBVX35NZioJhN7OiIic7T1IaLN9LEUhpXMU uQwPLZmVRfm+rU6kwCKesurNxhyPo/kmn7h0bjxwDJGLhDK2s2Adxt6HnizPjGzDIq j9MgGwE7yH/r7CPM/5ZhLiraFwR2pP7lfur5tx9pYuD2FO4UuwL0b9xBViNzuRcUwc KMq7Vokxb3ma8INKVPZiBwjZhQaQ/JCPxjqgYHx5Xj9NOs0mvQ1AgGr7VeC9bcAtIu LvSTGtnlzrN/fUQP+OR/H7eK8fUCqgkCM5Jmr+B3vwyBTAQD9HWUl0KKUDDBImJGA5 Ub0mu3IP6p5JQ== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron , Ivan Drobyshevskyi Subject: [PATCH 15/16] iio:proximity:vl53l0x: Tidy up white space around {} in id tables Date: Thu, 30 Dec 2021 17:49:10 +0000 Message-Id: <20211230174911.78291-16-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron Previously inconsistent with a space after { but not before }. Tidy that up to avoid providing a bad example that might get copied into other drivers. Signed-off-by: Jonathan Cameron Cc: Ivan Drobyshevskyi Reviewed-by: Gwendal Grignou --- drivers/iio/proximity/vl53l0x-i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/proximity/vl53l0x-i2c.c b/drivers/iio/proximity/vl53l0x-i2c.c index cf38144b6f95..661a79ea200d 100644 --- a/drivers/iio/proximity/vl53l0x-i2c.c +++ b/drivers/iio/proximity/vl53l0x-i2c.c @@ -226,7 +226,7 @@ static int vl53l0x_probe(struct i2c_client *client) } static const struct i2c_device_id vl53l0x_id[] = { - { "vl53l0x", 0}, + { "vl53l0x", 0 }, { } }; MODULE_DEVICE_TABLE(i2c, vl53l0x_id); From patchwork Thu Dec 30 17:49:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12701572 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81951C433EF for ; Thu, 30 Dec 2021 17:44:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240264AbhL3RoZ (ORCPT ); Thu, 30 Dec 2021 12:44:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236203AbhL3RoZ (ORCPT ); Thu, 30 Dec 2021 12:44:25 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 282DBC061574 for ; Thu, 30 Dec 2021 09:44:25 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BD9D66173E for ; Thu, 30 Dec 2021 17:44:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8826C36AE9; Thu, 30 Dec 2021 17:44:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640886264; bh=puZZpHs4Sxrm8/+UjRdos/e9j/jfx3Cd6Xm3WpOrPLQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QSg15eRnMPI7rLHf9TNylZjgDEgDpAVBwkYOZ/fb+vmLm51s2rn1ffwOvrHUJZ0HW 9u5c7eW+7AJ/sJMY5SSXrmgjl7monpt1lTuNLvq3PpkQsGy/yCZHUUad5q8tI3NrVI tftfJfnBXbdll9fX2xR/GOUKf6VapuUKwvLvrMu+vvyBk0XqFc+oW5FhnDIF9tAioj WjFZT8Oqu/n4kqzd9pH0/nKQsx6YwA50iX7wwkJVV/+0hPLwYqin6ifBa9U+rmGPQN WyBYSpbDAMvRvec2+J2+M71CxLyO9hpN2IVfI75VWVYzrpMFWCKIpDL5HcHsFf7ZiT +VvIOTKkV6DsQ== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Gwendal Grignou , Andy Shevchenko , Jonathan Cameron Subject: [PATCH 16/16] iio:accel:dmard09: Tidy up white space around {} in id table Date: Thu, 30 Dec 2021 17:49:11 +0000 Message-Id: <20211230174911.78291-17-jic23@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211230174911.78291-1-jic23@kernel.org> References: <20211230174911.78291-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron Previously inconsistent with a space after { but not before }. Tidy that up to avoid providing a bad example that might get copied into other drivers. Signed-off-by: Jonathan Cameron Reviewed-by: Gwendal Grignou --- drivers/iio/accel/dmard09.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/accel/dmard09.c b/drivers/iio/accel/dmard09.c index e6e28c964777..53ab6078cb7f 100644 --- a/drivers/iio/accel/dmard09.c +++ b/drivers/iio/accel/dmard09.c @@ -126,7 +126,7 @@ static int dmard09_probe(struct i2c_client *client, } static const struct i2c_device_id dmard09_id[] = { - { "dmard09", 0}, + { "dmard09", 0 }, { }, };