From patchwork Sat Nov 5 10:00:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Bai X-Patchwork-Id: 1215 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp907864wru; Sat, 5 Nov 2022 03:05:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7CvaeSzx9UsUq1vgxkrytFqdt2LEr6DXW7R5j7JetaVu4r6aZ2xAAJE/xHCpJ2cKDwC2BL X-Received: by 2002:a17:906:9253:b0:7ae:5a6:22f8 with SMTP id c19-20020a170906925300b007ae05a622f8mr17960953ejx.108.1667642722370; Sat, 05 Nov 2022 03:05:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667642722; cv=none; d=google.com; s=arc-20160816; b=mZrrT+SSpjc90NTuIexompqxht/Fsd9AD1bevoSUkSofw7xOqSbbGq1o7qY9dgpilJ NHWvsAQN/HWzN8dnTjzH55Yhm16zgWwjO76/p3OWkaG4ZvBrJv1HP34eRhUr9W465LFX oabX1el7bLbMRbwc5NvuW55T07k+7qmVQul35Qce/CAlK9jPx/Eax2GDTYc8+Qbr6tH8 HpkVpKrwtya8xYvJjzh86qGgDhvfgR4sw9ejjTyeQD3D8IVwNUWZmVjuiqSVYz96h7Yp N+iwoK2j5N1pkmYP/z0PeEgft4BveShlAxQklN+aA9XdlC4mEls1KZHPU4fktzd0Dx3U x5Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=faUzu67FJ/vE0Y/rYOSRDt5IUPW4ac/77L2ocXglKpU=; b=O3zga03YYwuE5chfh8vnYUETHAjHzGGm6mLVMV1tD5pObqEoERHgxKBmYW8P82LNa3 lSMirUa39h5DAwY7OrkwMMWnv3+oLyxxygdoXN7I8hpL61XSxBYLP82/4KmBCqX0OVsP dMIV+k/oM8RyJL3QSzRQbrBhj66zyBbBNFA0d4RkCjQ2TJTaBaNjRLym3siXyJESAUAJ Cn0FVDvoIjHgGjd0vfj4IVGV8oiiaUszk7zcfPw9E9FluN5smlkn14HhPmblyldJdPo4 rbG+RbJwKPLkn/l+FSt2sE0ZHU+L+A0NPDZ+CeDJp/oHG18XFIvlbhbfqUaBJstK4KMg aGIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KZq8Sm8m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j8-20020aa7c0c8000000b00458e689f41fsi1930572edp.415.2022.11.05.03.04.58; Sat, 05 Nov 2022 03:05:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KZq8Sm8m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229759AbiKEKBX (ORCPT + 99 others); Sat, 5 Nov 2022 06:01:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229791AbiKEKAz (ORCPT ); Sat, 5 Nov 2022 06:00:55 -0400 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 125791BE9E for ; Sat, 5 Nov 2022 03:00:34 -0700 (PDT) Received: by mail-pf1-x432.google.com with SMTP id k22so6536821pfd.3 for ; Sat, 05 Nov 2022 03:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=faUzu67FJ/vE0Y/rYOSRDt5IUPW4ac/77L2ocXglKpU=; b=KZq8Sm8m8yK1ql+Y5hJ2BKfRpsRlHaoBUEC+SgKNawxruW6mb/pl9IbWz/7g7hu9Up loIo37A0r89o/nhoBQiokpms/RqmKrJwkyfbQtYSwiQzCdgXv/xleENRvOQ6Pk8nYPZ3 v2LvA7gDmssdtJDq+HrJL4PEHPI3tBZZbnh85zBPDKXNF3OukGjZrVBg9aHdIIqH0QTK pu3gLc3j3fjBaVV0ox5uO7ef9rnDQzCJtSpx5f5PEvk6ZFrdbi3L/4o0nAuGhwgNi/ho TZfKu1ydhyiHxtVSMS7SHKk9IsqVGWvzWPfc2NJlcUzAma7b5ZsbixC+YsJVoaJKqYCI 00AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=faUzu67FJ/vE0Y/rYOSRDt5IUPW4ac/77L2ocXglKpU=; b=ODVdkHeol/sdXpc+bAlnReBzdpkIX0qSmKxAGJwjs4uVOQxJJO3fvLbSvwjDHRYKi1 Kj4pG+YSQzgxaZJGohzKLD3eUFa6xhzlHuaOcn13AeelqUJPJV/skU8tjoSwqElc7jcd IN/dw1hANdaf2uslX4sgmlRtZHH+rSZQGep6Zu73g83oqW4i7uV05xlfEKHM6uQqGq15 Y11oUM9SXX908aLO3/f/O7AA9RoN8mtT9kUTWSaAForiVXnqDinPYanka1PL6ybj/7OH tgwPpMwNlgkBiQYENT+CFnGKWfgNi8AHrM9HClA1Hct1Vf3d41N+Kiz8pL2kxRt5n5jy rphQ== X-Gm-Message-State: ACrzQf3rTWvtrdCrwENbf2U59H+MM+UBAELUb+W0e5KzzyhYXoj69Ujg Cxx4s+Rmk8DU5N8OcByWFX8= X-Received: by 2002:a63:f903:0:b0:46f:1b5:b4fd with SMTP id h3-20020a63f903000000b0046f01b5b4fdmr33338089pgi.544.1667642433589; Sat, 05 Nov 2022 03:00:33 -0700 (PDT) Received: from jacob-Ubuntu (126.224.215.218.sta.wbroadband.net.au. [218.215.224.126]) by smtp.gmail.com with ESMTPSA id m28-20020a634c5c000000b00451f4071151sm958515pgl.65.2022.11.05.03.00.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Nov 2022 03:00:33 -0700 (PDT) From: Jacob Bai To: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Jacob Bai Subject: [PATCH 0/3] staging: rtl8192e: trivial code cleanup patches Date: Sat, 5 Nov 2022 21:00:27 +1100 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748650135266559924?= X-GMAIL-MSGID: =?utf-8?q?1748650135266559924?= Rename few variables and source files to make it align with other rtlwifi drivers. The patches are required to be applied in sequence Jacob Bai (3): staging: rtl8192e: rename tables in r8192e_hwimg.c staging: rtl8192e: rename r8192E_hwimg.c/h to table.c/h staging: rtl8192e: remove unnecesscary macro define drivers/staging/rtl8192e/rtl8192e/Makefile | 2 +- .../staging/rtl8192e/rtl8192e/r8192E_hwimg.h | 33 ------------ .../staging/rtl8192e/rtl8192e/r8192E_phy.c | 54 +++++++++---------- .../staging/rtl8192e/rtl8192e/r8192E_phy.h | 20 ------- .../rtl8192e/{r8192E_hwimg.c => table.c} | 20 +++---- drivers/staging/rtl8192e/rtl8192e/table.h | 33 ++++++++++++ 6 files changed, 71 insertions(+), 91 deletions(-) delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.h rename drivers/staging/rtl8192e/rtl8192e/{r8192E_hwimg.c => table.c} (95%) create mode 100644 drivers/staging/rtl8192e/rtl8192e/table.h