From patchwork Mon Mar 14 09:09:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1604982 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=n9DkHrUf; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KH9jJ6V1Cz9sG2 for ; Mon, 14 Mar 2022 20:09:56 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9D62783B56; Mon, 14 Mar 2022 10:09:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.b="n9DkHrUf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4A0B983B63; Mon, 14 Mar 2022 10:09:50 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from smtpcmd11117.aruba.it (smtpcmd11117.aruba.it [62.149.156.117]) by phobos.denx.de (Postfix) with ESMTP id 4010E8309E for ; Mon, 14 Mar 2022 10:09:46 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=giulio.benetti@benettiengineering.com Received: from localhost.localdomain ([146.241.7.124]) by Aruba Outgoing Smtp with ESMTPSA id Tgi0nqDjgo6PDTgi0n7Hnw; Mon, 14 Mar 2022 10:09:45 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1647248985; bh=ObgrB393b6z+HsSYA7sJxKXEKeH4Mwe4zrcXTv9b9bQ=; h=From:To:Subject:Date:MIME-Version; b=n9DkHrUfYGBTG+25ygLAXOYCjpFQ1Y3p3CU5HbioOp5kh+vVdRsvqU3jMFc+zy6/G fRrHxyd9//LVYnFa6EbccxDT8t7MtBx7PaSA+4osmpufjfgyImN/sUcLVLjsIFjZ7F wJlpqsJwRsWG2pmJDNfD3wDdqboyyWtphMvR5q4e87Hm58Z01cevU5RebbcrbEJe/Q 1ogyMfsQ670558hmkbpG+JdWvPMEozx24HyKt/hegfyPEQ3pe7kmq57uGLqV2S9S+q U9II1DwPScfY+HsjVRyeq4uRCO32gRX3ypc1o1oUJEV2ie7caxp97H2LajRAb2Esux TPHSezClrPJCg== From: Giulio Benetti To: Kever Yang Cc: U-Boot-Denx , Giulio Benetti Subject: [PATCH v2] rockchip: saradc: remove double semi-colon Date: Mon, 14 Mar 2022 10:09:43 +0100 Message-Id: <20220314090943.821630-1-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-CMAE-Envelope: MS4wfJ4mOfLVeE9DEHkOL3Uihann2/+P7jHRHebHn+9BDRR+MjKACRB1WnVYxKmcIwHAUp13okIYrjeRrxVAg6IK0/EFHaT7gVpsdqLRbEcD13syBa6Ihp7s kH2/47EaDtz3dpE4d0+2BRiCJv3CRRuX3exPbteVtOy+DRDnx3K0lu8n+ryCztvqDev5hBRY1Ohk941ZSYw1SZlEh+pPPZlefCbc+a27v9J/eQw2AuJra9t8 RJPy1RjgD0P/1IvxmNcI5tIGIpnvZgyIj3NmWW1rYf0ZelKjDNz9TyEPXK9r+dIa X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Remove double semi-colon that has been forgotten while adding the driver. This is only a style fix since it doesn't change the functionality of the driver. Signed-off-by: Giulio Benetti Reviewed-by: Kever Yang --- V1->V2: * Improved commit log as suggested by Kever Yang --- drivers/adc/rockchip-saradc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/adc/rockchip-saradc.c b/drivers/adc/rockchip-saradc.c index e464d33f22..e0cbab6aa0 100644 --- a/drivers/adc/rockchip-saradc.c +++ b/drivers/adc/rockchip-saradc.c @@ -131,7 +131,7 @@ int rockchip_saradc_of_to_plat(struct udevice *dev) } priv->data = data; - uc_pdata->data_mask = (1 << priv->data->num_bits) - 1;; + uc_pdata->data_mask = (1 << priv->data->num_bits) - 1; uc_pdata->data_format = ADC_DATA_FORMAT_BIN; uc_pdata->data_timeout_us = SARADC_TIMEOUT / 5; uc_pdata->channel_mask = (1 << priv->data->num_channels) - 1;