From patchwork Wed Aug 23 17:30:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Himanshu Jha X-Patchwork-Id: 9917985 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 C624160327 for ; Wed, 23 Aug 2017 17:31:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC6C5289E6 for ; Wed, 23 Aug 2017 17:31:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A16B0289F7; Wed, 23 Aug 2017 17:31:14 +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=-0.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_HI, RCVD_IN_SBL_CSS,RCVD_IN_SORBS_SPAM,RCVD_IN_SORBS_WEB,T_DKIM_INVALID autolearn=no 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 6453E289E6 for ; Wed, 23 Aug 2017 17:31:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932323AbdHWRbN (ORCPT ); Wed, 23 Aug 2017 13:31:13 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:38194 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932216AbdHWRbM (ORCPT ); Wed, 23 Aug 2017 13:31:12 -0400 Received: by mail-pg0-f67.google.com with SMTP id u9so115020pgn.5; Wed, 23 Aug 2017 10:31:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=SZPsGjJN2QZkjIzHHrJrBhvr/mCZ8C+djer2kUr+6Qg=; b=NTMrdZM3WoYoVUDesEhvSsfNz0yxDUPquWksAZVqDwrWVcqKQNEyAEAhAsF1/4j0NW jNIpJ9kJ8VRBIwvCYhITTsHq5eQsECqLhX3+WAdw06yx0AvZLmFUU2E19AESraMQEh82 uNp0XSPRNXpR60AnsILtxzcrT5AThqHAH2MzgsFEhKsbhLSSsIbF3Mn13YZBUKFHrzy2 e+OmyiKxAMvrMvkIwKTc4FVilM23IAaBXiMGwqjP1pZV9t/Ex/rSXcPsUsZLFIDdugbT GhT98UgVGQboAbyjTgc3xS/jERUIjwHMH17U2k5U7wniBJwWz20eRLb6y6OviubJ50dy +wHQ== 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; bh=SZPsGjJN2QZkjIzHHrJrBhvr/mCZ8C+djer2kUr+6Qg=; b=lqXJ0IxjYxhHs+xzi1kN5olWqEgbjOAOZz7FLWUX8r0FbcfYpAsE5aiYeegdRBa4Du VHNcnG0Bvqqr2xrKsYngVa7ZZyn87svBF+Aqf994/eWK+yUW1z6j0QlOBQfIUeEfuH2S /qydc6wjuMUxVk+owrd1HtqH1TWyuPjjlJotJI3jHD0yURyT8lS65yd05JT7EVmVFR89 e5teHQpa/vgpEiG3SlVngTZzDUgGSNxDgch0lMIa9E1JF6LKz9QBN+L8Zo97BfCEJnL+ JS5MNfGAXUPyE6MVvtHzqF/R5ikOsJ+3yts6/cj6U9Hk1Rx+UMGfsgJaaFlSO1uDX4QY bpZQ== X-Gm-Message-State: AHYfb5iBXRNx0Pb8njPb671dWgOgPhoKawmudwb9kvc4x7TlOPcRvVzG BBr9WanecLcMZA== X-Received: by 10.99.16.65 with SMTP id 1mr3459201pgq.208.1503509472192; Wed, 23 Aug 2017 10:31:12 -0700 (PDT) Received: from localhost.localdomain ([103.46.192.10]) by smtp.gmail.com with ESMTPSA id b68sm4103418pfd.33.2017.08.23.10.31.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Aug 2017 10:31:10 -0700 (PDT) From: Himanshu Jha To: b.zolnierkie@samsung.com Cc: linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Himanshu Jha Subject: [PATCH v2] fbdev: vgastate: fix line over 80 character and remove unnecessary space Date: Wed, 23 Aug 2017 23:00:40 +0530 Message-Id: <1503509440-17279-1-git-send-email-himanshujha199640@gmail.com> X-Mailer: git-send-email 2.7.4 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 Fixes the following checkpatch warnings: WARNING: line over 80 characters WARNING: space prohibited between function name and open parenthesis '(' WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable Signed-off-by: Himanshu Jha --- drivers/video/vgastate.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/video/vgastate.c b/drivers/video/vgastate.c index 548c751..b17d8e0 100644 --- a/drivers/video/vgastate.c +++ b/drivers/video/vgastate.c @@ -31,8 +31,9 @@ struct regstate { __u8 misc; }; -static inline unsigned char vga_rcrtcs(void __iomem *regbase, unsigned short iobase, - unsigned char reg) +static inline unsigned char vga_rcrtcs(void __iomem *regbase, + unsigned short iobase, + unsigned char reg) { vga_w(regbase, iobase + 0x4, reg); return vga_r(regbase, iobase + 0x5); @@ -454,8 +455,9 @@ int save_vga(struct vgastate *state) } return 0; } +EXPORT_SYMBOL(save_vga); -int restore_vga (struct vgastate *state) +int restore_vga(struct vgastate *state) { if (state->vidstate == NULL) return 1; @@ -480,8 +482,6 @@ int restore_vga (struct vgastate *state) vga_cleanup(state); return 0; } - -EXPORT_SYMBOL(save_vga); EXPORT_SYMBOL(restore_vga); MODULE_AUTHOR("James Simmons ");