From patchwork Tue Aug 30 19:04:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Moshe Green X-Patchwork-Id: 9305911 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E7CD6601C0 for ; Tue, 30 Aug 2016 19:05:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D77E928C98 for ; Tue, 30 Aug 2016 19:05:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C988F28CA2; Tue, 30 Aug 2016 19:05:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 562AC28C98 for ; Tue, 30 Aug 2016 19:05:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751998AbcH3TFD (ORCPT ); Tue, 30 Aug 2016 15:05:03 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33660 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751606AbcH3TFC (ORCPT ); Tue, 30 Aug 2016 15:05:02 -0400 Received: by mail-wm0-f67.google.com with SMTP id w207so233283wmw.0; Tue, 30 Aug 2016 12:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3sIFzdtLnDqYe0hiweFrbkog9QLn3QU+so3Qq21+nn8=; b=MMMIp8qZsz1ytM4EBVgfXM24DVw0tGdFacpboF92ePvKPsbDZ+eGV+87Gc3lKIQpzr CWdqEfdaOUx1cN8bc1a24unA4H+vY6p2VKXn9RRLh8TkcNk3KUGC7QFqGEE4UGuB9GMU 9/95Bm5/1ecPXhijjuaHmdVm1xkGzGWxwqPpOGwYRfAL3/PnZQwRgiMpWtb/8Wt0YHxX suaw8Z+KIEhLstM68021EuzrPbw4EHNp2lbdMFdVbjvZc3fjJixveiOE/w3fECXnWM+J Dkyh5/JS50a2r5C3zaOA0xkRxQ9fs4uCuOHMf5ohwU2GXbsizmuA+fbW6hPhtfhBW9s4 Zb0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3sIFzdtLnDqYe0hiweFrbkog9QLn3QU+so3Qq21+nn8=; b=T2wC6cAjGtUgFC8IAvpolSsLZH0acaXuQ/5G8vQpuCdFu4+hwr816CPOpYyyImdMGW iy5bR98k8ipURYHuC+oUK3MoBjHO1Emctu4QAo98Gr+jP/YvOpPysr+y1eFaRDpsSOEu 66RsbYBQmAZICMzfPYdttwwFDZWkcHdS6YiD8ZtZIukHWAZzGc/PN9TNPCmApHgtQLrY AsqC3eDUiK7EUVaNjnNQkp4QJ1jx4r6QDO7K+SnHWX+FTzrDkjYA2CuZpwVzOsxjh88U O00HkRviPExUJzSASlJr+mcSsY0iKszeSTbWrQf1jdI3cpmvYLmWzjaqQmb0OsSHR58d w0Zg== X-Gm-Message-State: AE9vXwP2PKlG7azVYUfMxaqSvHlCWyxCulcsNUhp2NxNf5uqmEzHNwqQnO4uJAUB976gXg== X-Received: by 10.194.223.73 with SMTP id qs9mr4876056wjc.188.1472583900759; Tue, 30 Aug 2016 12:05:00 -0700 (PDT) Received: from gmail.com ([37.26.146.213]) by smtp.gmail.com with ESMTPSA id z18sm19981814wmz.6.2016.08.30.12.04.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Aug 2016 12:05:00 -0700 (PDT) Date: Tue, 30 Aug 2016 22:04:56 +0300 From: Moshe Green To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org Cc: linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/9] staging: sm750fb: fix coding style issues in ddk750_chip.c Message-ID: <6c1db940ada71ef09b6f2d6c6c762115fbac7188.1472583825.git.mgmoshes@gmail.com> References: <7011104f5ba6d400b550d2f25d16b1183efa0f35.1472583825.git.mgmoshes@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <7011104f5ba6d400b550d2f25d16b1183efa0f35.1472583825.git.mgmoshes@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix line length and block comment * prefix warnings found by the checkpatch.pl tool in ddk750_chip.c. Signed-off-by: Moshe Green --- drivers/staging/sm750fb/ddk750_chip.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c index 577a279..f15800a 100644 --- a/drivers/staging/sm750fb/ddk750_chip.c +++ b/drivers/staging/sm750fb/ddk750_chip.c @@ -243,9 +243,10 @@ int ddk750_initHw(initchip_param_t *pInitParam) setMasterClock(MHz(pInitParam->masterClock)); - /* Reset the memory controller. If the memory controller is not reset in SM750, - the system might hang when sw accesses the memory. - The memory should be resetted after changing the MXCLK. + /* Reset the memory controller. + * If the memory controller is not reset in SM750, + * the system might hang when sw accesses the memory. + * The memory should be resetted after changing the MXCLK. */ if (pInitParam->resetMemory == 1) { reg = PEEK32(MISC_CTRL);