From patchwork Sat Jun 25 08:59:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saidgani Musaev X-Patchwork-Id: 9198443 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 C0F036075F for ; Sat, 25 Jun 2016 08:59:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AEEA4284D6 for ; Sat, 25 Jun 2016 08:59:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A1947284FD; Sat, 25 Jun 2016 08:59:24 +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.0 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_WEB, 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 46E58284D6 for ; Sat, 25 Jun 2016 08:59:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751183AbcFYI7X (ORCPT ); Sat, 25 Jun 2016 04:59:23 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:36842 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751175AbcFYI7W (ORCPT ); Sat, 25 Jun 2016 04:59:22 -0400 Received: by mail-lf0-f68.google.com with SMTP id a2so23976501lfe.3; Sat, 25 Jun 2016 01:59:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=FLRBTZ66vDVmpYxo5lxEt9upyc6WpA+3smOKcbBLSQM=; b=v+U1QGHW7GH3Gax/SOSCNCvTYmpbyVhUfSwb4oVg8CbZyue38pdzr6u/PG3R6lJqNf qhICKP9C3PZrnDeGUYU2qm3cfoAMVhutqp4TfrUrKeYkf8X4Yx48g2kpxT4bnsXkbt2G 8rD4i1kXQXxdZoklZRpTQVRkKpKqe0NZWy+PEOzj8BULdG4DrSCvzIB7dfjpqvAvjgd8 DxKr8LYQ5m3qCVxSAj+Twtxmec/AAbJ+Q5h5Kiqn6tYJsiHTXW/t21oZVxzdm2TYZfMt BoKRx4h/EzEG5BWqaA2KTp++mSpfdjHWnHgmQTpHCzBP8MF+8OTXAZnqLCiUVWn4KCce XwXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=FLRBTZ66vDVmpYxo5lxEt9upyc6WpA+3smOKcbBLSQM=; b=cT7zSBB89R1WcxzwVS4Nivm3pPX4KTNcbu1+2qIphCEy6JDN1sAHvurBH+d3QYwbc5 x9Utz0f1VDpz0Nf0senuIlkwqc8N9vzaf/g42GFDroGCRaigYf27wKjXF0VM0/Kq/3if 4dL8thdGQDcmSiL6qvu9OlDR7+2AABfI4N8ALufFys/KRQPC58L4M29SXdqOL230fv3N 2/j8+nFJCq1Bb35cbqZzYSnVLKEOnNSwTYezbd2X8Yk0UASQg9eZ+TGUExkgXGx91Vk6 0fMxX8/0WCMd3aQqZSAf43at0IYsWHeUoxAnx6yLTTS+6a9nrxRfMVl6FV4yI8uTGDs4 bhQg== X-Gm-Message-State: ALyK8tJ4IWVcKef8FfQ4e/50jw3QMAQ1hQy4VvtbzEyRsTNuKXaPHM9SLsYe4fKvIqpZ7A== X-Received: by 10.25.144.148 with SMTP id s142mr2816077lfd.191.1466845160028; Sat, 25 Jun 2016 01:59:20 -0700 (PDT) Received: from localhost.localdomain (91.218.169.129.pppoe.saturn.tj. [91.218.169.129]) by smtp.gmail.com with ESMTPSA id 80sm1512406lfv.20.2016.06.25.01.59.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 25 Jun 2016 01:59:19 -0700 (PDT) From: Saidgani Musaev To: plagnioj@jcrosoft.com Cc: linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Saidgani Subject: [PATCH] Drivers: video: vgastate: fixed a coding style issue Date: Sat, 25 Jun 2016 13:59:11 +0500 Message-Id: <1466845151-5764-1-git-send-email-cpu808694@gmail.com> X-Mailer: git-send-email 1.9.1 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 From: Saidgani fixed a coding style issue --- drivers/video/vgastate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video/vgastate.c b/drivers/video/vgastate.c index 548c751..eb70e5d 100644 --- a/drivers/video/vgastate.c +++ b/drivers/video/vgastate.c @@ -31,7 +31,8 @@ struct regstate { __u8 misc; }; -static inline unsigned char vga_rcrtcs(void __iomem *regbase, unsigned short iobase, +static inline unsigned char vga_rcrtcs(void __iomem *regbase, + unsigned short iobase, unsigned char reg) { vga_w(regbase, iobase + 0x4, reg); @@ -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 ");