From patchwork Sat Mar 11 03:24:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arushi X-Patchwork-Id: 9618347 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 66B5960528 for ; Sat, 11 Mar 2017 03:24:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 596AA287B2 for ; Sat, 11 Mar 2017 03:24:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E6A1287B3; Sat, 11 Mar 2017 03:24:51 +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 C9970287B2 for ; Sat, 11 Mar 2017 03:24:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933770AbdCKDYl (ORCPT ); Fri, 10 Mar 2017 22:24:41 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:32939 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933425AbdCKDY2 (ORCPT ); Fri, 10 Mar 2017 22:24:28 -0500 Received: by mail-pg0-f66.google.com with SMTP id 77so12101493pgc.0; Fri, 10 Mar 2017 19:24:27 -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=Antde0yEfc5jQJTUqQ3w+sfePi9T46JLqJ+uleL3wvRJ6RWZBQJvsdDrc15306Fm9D sTxC+CmhO+FnQDIyXqlYzpoK9CHtIyHu0+hYhhmtYvOadKcdSxvJF3vUiomKxxFlAp9A u7lqXEPalTg4S/fRbjDH8edpicKAIXn3TSo6OJxfJEBxCIsvhZNrX8TdL//Bbc9v8B3L seMjXKFlZfo+8AjByvma3jtTkG7Daecaa2YmxZyKzirnVU7vwQKgrQi6y+H6fmnPnHNe ffaf6b26JdcsW8Zj193jM3YNSL6aZyd9HnjCMr8TlcmmIUkBwL+ENJgyCzAQaFl2+DqX btlg== 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=CNWPdsQRPrkYpuAXITc1TEqWkn/Kq5W4AhCTi+w6Fwh4HDsPMuwQ4nC0+5sS4LIKm4 vEU/m6//jXi7VToUeq10MGjaN9akgY8YbYevxg2t9k7pp0fSkKghUfworhKdha7/ytT5 6SSopktWyjv3TOYC0lZU9NDFlZUOgVCTnw8bBS9SP04czpVF47iKQdf4RCvQtqptDnzF QynEGlcP+Fh1IEh08D3wncSLbpvJ8k/AUAa5oPpVxWWsBk+IOgplNw+UDprTDOptf1Mi V53hsldBKjCE6bHGv5LeHclSrKDeKXj3QKBPOi2md0MN84EbhkeLebwl+eWtBBc7PV4E /Zyg== X-Gm-Message-State: AMke39lOCnul0AscLKgeqXO3+4fj25Tf52fjQ4lccb/sZzTAyLkbjM27i8K4TkX9jkM/kg== X-Received: by 10.84.238.199 with SMTP id l7mr30054304pln.90.1489202666517; Fri, 10 Mar 2017 19:24:26 -0800 (PST) Received: from arushi-HP-Pavilion-Notebook ([14.139.82.6]) by smtp.gmail.com with ESMTPSA id r134sm21034253pfr.83.2017.03.10.19.24.24 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Mar 2017 19:24:25 -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 08:54:09 +0530 Message-Id: <20170311032410.8265-3-arushisinghal19971997@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170311032410.8265-1-arushisinghal19971997@gmail.com> References: <20170311032410.8265-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) {