From patchwork Fri Mar 10 21:56:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arushi X-Patchwork-Id: 9618047 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 9878B60415 for ; Fri, 10 Mar 2017 21:57:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8316C223B2 for ; Fri, 10 Mar 2017 21:57:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 77AD32723E; Fri, 10 Mar 2017 21:57:21 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 081D9223B2 for ; Fri, 10 Mar 2017 21:57:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932482AbdCJV5S (ORCPT ); Fri, 10 Mar 2017 16:57:18 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34145 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934221AbdCJV5P (ORCPT ); Fri, 10 Mar 2017 16:57:15 -0500 Received: by mail-pf0-f195.google.com with SMTP id o126so12088901pfb.1; Fri, 10 Mar 2017 13:57:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KT0IWj+YqYQTZ8KjZgWy32yNB/RKCKD/eq7+hqILGfw=; b=eqORxjqTago58wOs74eAUGkCe6jic2AVQT+LMFG/ggoKSdvO0c4u3XQHyt1OrUjspF K2MbZlgDiun1DSFmCgTrSmkf9OpXbUHr0AwGceSR81v/FZR29y/7bdmRtuJUn5S7Ie/M bgmP9IGWPamBvmknzt4M/tXBmhsee3kys1s41CHMV7VOw/vl2OMKPNHXcMjsqv6DrTVj OzbOwg1XI4UQdWfeRwU8nppKas9+jV3ARJLABd+2+wP12pUcFppt3lAdPNCGd3DGiNmj 3dlJlvdkvcbacq8WBoeol4oyTTMgmD4HLTxxVVLfRw55bnGneIeT7HOOAAurwbej8L+7 z9Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KT0IWj+YqYQTZ8KjZgWy32yNB/RKCKD/eq7+hqILGfw=; b=R03bhsJ/wzqTKUIybQX8t4caSXkXaSxhju/I+WBFEEq/4Hg5YGAFkJCmhwRIiVGJsR mRkNL0eMNDUFUgYvPXzAkhicw7oTMCFBAOw3PqT5B9A0HNTN7D9F/LuHtEWqf9txFvDs BhbT8//t1SdDLkryJIVNOxP2aIqbtWQ52iELMJsjuchLhEbPMYG3O8dePuaghKuRIlg3 FEtPrjzzjr2dNZ8/D+0gTxJGTm6VZXcIFPfhIQtG8o7DMRo0a8ht6X7eBKnuC4UBNA7X yVTHBShz2fg3oOq/679xnEyW7jo3u2lkoldImUmDZdMNXcKulz2IKSgf/VWt94ODUFte XUtw== X-Gm-Message-State: AMke39mk+lgwW52zVc8oeav49uCzUrTiht0+nJIJuPBNRGW2XJztXSw1+YQbPNZXULycCA== X-Received: by 10.99.54.140 with SMTP id d134mr22566377pga.91.1489183034402; Fri, 10 Mar 2017 13:57:14 -0800 (PST) Received: from arushi-HP-Pavilion-Notebook ([14.139.82.6]) by smtp.gmail.com with ESMTPSA id 90sm20397432pfl.24.2017.03.10.13.57.12 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Mar 2017 13:57:13 -0800 (PST) From: Arushi Singhal To: outreachy-kernel@googlegroups.com Cc: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Arushi Singhal Subject: [PATCH 2/3] staging: sm750fb: fixes add blank line after function/struct/union/enum declarations Date: Sat, 11 Mar 2017 03:26:56 +0530 Message-Id: <20170310215657.7069-3-arushisinghal19971997@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170310215657.7069-1-arushisinghal19971997@gmail.com> References: <20170310215657.7069-1-arushisinghal19971997@gmail.com> 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 This patch fixes the warnings reported by checkpatch.pl for please use a blank line after function/struct/union/enum declarations. Signed-off-by: Arushi Singhal --- drivers/staging/sm750fb/sm750_cursor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c index 612e9ab9d569..b64dc8a4a8fb 100644 --- a/drivers/staging/sm750fb/sm750_cursor.c +++ b/drivers/staging/sm750fb/sm750_cursor.c @@ -54,6 +54,7 @@ void sm750_hw_cursor_enable(struct lynx_cursor *cursor) reg = (cursor->offset & HWC_ADDRESS_ADDRESS_MASK) | HWC_ADDRESS_ENABLE; poke32(HWC_ADDRESS, reg); } + void sm750_hw_cursor_disable(struct lynx_cursor *cursor) { poke32(HWC_ADDRESS, 0); @@ -65,6 +66,7 @@ void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, cursor->w = w; cursor->h = h; } + void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y) { @@ -74,6 +76,7 @@ void sm750_hw_cursor_setPos(struct lynx_cursor *cursor, (x & HWC_LOCATION_X_MASK); poke32(HWC_LOCATION, reg); } + void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg) {