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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 915B6C433F5 for ; Mon, 14 Mar 2022 09:09:56 +0000 (UTC) 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) 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 Content-Transfer-Encoding: 8bit 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 --- 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; -- 2.25.1