From patchwork Fri Nov 27 02:52:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 7710631 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2DE739F401 for ; Fri, 27 Nov 2015 02:56:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5B21D205BC for ; Fri, 27 Nov 2015 02:56:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 80DA5205BB for ; Fri, 27 Nov 2015 02:56:18 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a29Az-0003Sp-KN; Fri, 27 Nov 2015 02:54:21 +0000 Received: from mail-pa0-f68.google.com ([209.85.220.68]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a29Ai-0003Hq-RL; Fri, 27 Nov 2015 02:54:06 +0000 Received: by padhk6 with SMTP id hk6so13350626pad.2; Thu, 26 Nov 2015 18:53:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cx1OL2+TEKeOLxn+ycJH3j/nLZ0bGLDa2q7+6eoUL+c=; b=LSK+QY5enmmFV+2GD7MRgEI864cP9/htTkf4S5e+sq4wvTnzlfn3lCvDoLRsy3qYX/ 1APwvbV1ieFgnlfHa+c3Ykc251Z+hOfqpt7y5axtJwqOMFszz7pBgNkVaj3AbNjXz9ul qcIfGJL+gTvQztiw7Jd0Oi2HtM3T9haAj24DRbqlzPk68pXmZ3shEYJeYUYj/E4tRcsU vpgKbqLkgTnayNpwgWlS4xJkfsAzp/kFEoRaUnXYUfBYfiYDIofEVI8nSGpLB6G9lvI/ nC6NcJ60w05MKLx3mTthRqe+zXnXQNcCeSpNTuYvEktEAFC7yMBDd6eAZzf83wEFxCg+ ccew== X-Received: by 10.66.248.74 with SMTP id yk10mr63747597pac.17.1448592823945; Thu, 26 Nov 2015 18:53:43 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id r72sm30211624pfi.0.2015.11.26.18.53.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Nov 2015 18:53:42 -0800 (PST) From: Caesar Wang To: Eduardo Valentin Subject: [PATCH v1 1/5] thermal: rockchip: fix a trivial typo Date: Fri, 27 Nov 2015 10:52:22 +0800 Message-Id: <1448592746-2129-2-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1448592746-2129-1-git-send-email-wxt@rock-chips.com> References: <1448592746-2129-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151126_185404_998268_11E5B31A X-CRM114-Status: GOOD ( 10.15 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jiri Kosina , Heiko Stuebner , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Zhang Rui , Dan Carpenter , Caesar Wang MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset trys to dictate unified format for driver. Signed-off-by: Caesar Wang --- Changes in v1: - Search more trivial typo for me. drivers/thermal/rockchip_thermal.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c index e845841..5a8840b 100644 --- a/drivers/thermal/rockchip_thermal.c +++ b/drivers/thermal/rockchip_thermal.c @@ -38,7 +38,7 @@ enum tshut_mode { }; /** - * the system Temperature Sensors tshut(tshut) polarity + * The system Temperature Sensors tshut(tshut) polarity * the bit 8 is tshut polarity. * 0: low active, 1: high active */ @@ -57,10 +57,10 @@ enum sensor_id { }; /** -* The conversion table has the adc value and temperature. -* ADC_DECREMENT is the adc value decremnet.(e.g. v2_code_table) -* ADC_INCREMNET is the adc value incremnet.(e.g. v3_code_table) -*/ + * The conversion table has the adc value and temperature. + * ADC_DECREMENT: the adc value is of diminishing.(e.g. v2_code_table) + * ADC_INCREMENT: the adc value is incremental.(e.g. v3_code_table) + */ enum adc_sort_mode { ADC_DECREMENT = 0, ADC_INCREMENT, @@ -75,13 +75,13 @@ enum adc_sort_mode { struct chip_tsadc_table { const struct tsadc_table *id; - /* the array table size*/ + /* The array table size */ unsigned int length; - /* that analogic mask data */ + /* That analogic mask data */ u32 data_mask; - /* the sort mode is adc value that increment or decrement in table */ + /* The sort mode is adc value that increment or decrement in table */ enum adc_sort_mode mode; }; @@ -617,7 +617,7 @@ rockchip_thermal_register_sensor(struct platform_device *pdev, return 0; } -/* +/** * Reset TSADC Controller, reset all tsadc registers. */ static void rockchip_thermal_reset_controller(struct reset_control *reset)