From patchwork Wed Oct 4 15:56:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Christoph_B=C3=B6hmwalder?= X-Patchwork-Id: 9985011 X-Patchwork-Delegate: luca@coelho.fi 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 C1D416028E for ; Wed, 4 Oct 2017 15:58:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B53CE28B45 for ; Wed, 4 Oct 2017 15:58:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AA06128B4A; Wed, 4 Oct 2017 15:58:39 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable 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 62C0C28B45 for ; Wed, 4 Oct 2017 15:58:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751299AbdJDP6W convert rfc822-to-8bit (ORCPT ); Wed, 4 Oct 2017 11:58:22 -0400 Received: from zimbra.linuxprofi.at ([93.83.54.199]:33262 "EHLO zimbra.linuxprofi.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751412AbdJDP5V (ORCPT ); Wed, 4 Oct 2017 11:57:21 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.linuxprofi.at (Postfix) with ESMTP id 18488C62325; Wed, 4 Oct 2017 16:34:42 +0200 (CEST) Received: from zimbra.linuxprofi.at ([127.0.0.1]) by localhost (zimbra.linuxprofi.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id c-RYXZawT37a; Wed, 4 Oct 2017 16:34:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.linuxprofi.at (Postfix) with ESMTP id C8108C626CC; Wed, 4 Oct 2017 16:34:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.linuxprofi.at Received: from zimbra.linuxprofi.at ([127.0.0.1]) by localhost (zimbra.linuxprofi.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id nSK_eiy88rtc; Wed, 4 Oct 2017 16:34:41 +0200 (CEST) Received: from localhost.localdomain (178.165.128.163.wireless.dyn.drei.com [178.165.128.163]) by zimbra.linuxprofi.at (Postfix) with ESMTPSA id 3F4C1C6045B; Wed, 4 Oct 2017 16:34:41 +0200 (CEST) From: =?UTF-8?q?Christoph=20B=C3=B6hmwalder?= To: johannes.berg@intel.com, emmanuel.grumbach@intel.com, luciano.coelho@intel.com, kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Christoph=20B=C3=B6hmwalder?= Subject: [PATCH 2/3] wireless: iwlwifi: function definition cosmetic fix Date: Wed, 4 Oct 2017 17:56:59 +0200 Message-Id: <20171004155700.18048-3-christoph@boehmwalder.at> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171004155700.18048-1-christoph@boehmwalder.at> References: <20171004155700.18048-1-christoph@boehmwalder.at> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Separate the function from the previous definition with a newline and put the `static` keyword on the same line, as it just looks nicer. Signed-off-by: Christoph Böhmwalder --- drivers/net/wireless/intel/iwlwifi/iwl-phy-db.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-phy-db.c b/drivers/net/wireless/intel/iwlwifi/iwl-phy-db.c index 0eb815ae97e8..249ee1c7b02f 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-phy-db.c +++ b/drivers/net/wireless/intel/iwlwifi/iwl-phy-db.c @@ -325,8 +325,8 @@ static u16 channel_id_to_txp(struct iwl_phy_db *phy_db, u16 ch_id) } return 0xff; } -static -int iwl_phy_db_get_section_data(struct iwl_phy_db *phy_db, + +static int iwl_phy_db_get_section_data(struct iwl_phy_db *phy_db, u32 type, u8 **data, u16 *size, u16 ch_id) { struct iwl_phy_db_entry *entry;