From patchwork Sat Feb 11 14:42:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Zary X-Patchwork-Id: 5278 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1521915wrn; Sat, 11 Feb 2023 06:43:47 -0800 (PST) X-Google-Smtp-Source: AK7set8ZChUMQjKSH0+vDe4Dk1h6D/QNaHBwlyCWMdxNjBeHa9t7dbxSP6x4vHQ4QT+obFU4BOOw X-Received: by 2002:a50:d51a:0:b0:4ab:1031:b605 with SMTP id u26-20020a50d51a000000b004ab1031b605mr14293510edi.33.1676126626944; Sat, 11 Feb 2023 06:43:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676126626; cv=none; d=google.com; s=arc-20160816; b=SngEfhzedHOiu04JM55nApk1LhQ56TJL1ZL+V2Sfhq2xfiaKMa9enCy/e0kdUPWYm5 +gxhY86ZgaZnnJ550/t1OSZHcJNnksMW6iBn/6rn2Zpk1fIZwIv7kZw+ipf5lsJTBOPc 3xYyotm+caLJagFQ5zP79/0/tTSJ+HhoYqNYG+KbryuhRsfHpdSU1ZGl0OK1+6+eIqJL mKnZp+O+L4kync5HImitfWVVkEIauh46CKiUsX2aaxmBhIXreWF4kBjuRUm7TjMddWP1 U2Ohfa+JsEmKMOasF8GlRegmpe1wgfitUOXqPx8LgJl7KA+TN0y7SADnHHJFknUKvZHe NlPw== 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; bh=X4ozdX2C1qULkKeLd3Izc5drUSWDqAvmGpd8WEbpu2Q=; b=esB+bt9kRe5nhhqlanJfNbbGG+vWPE3oU13KQmctV2dJ4Ci5CaiUfLcr8yPJuGTbdM R7iGNj2Ps1ilCliPQ6901+fyQ1jcIJ9NYwHIB/jYYq2gUHuMvunlvKqjyLG0CdRNkEqh acndz9NUqsdVxjVai7IGgaUgAukyUwSmQd4wojBbpXz3fsLsOAtUDqapOxvP3aXSQsQ7 jLXtn6eM+LJla+9JxBQWWW2XmlU5xQTmZewhtsI1JQNtOzZ5ZSEUucHQ5W8/kLLkxE+b rO8/803tXziVJsu/tvMdlbkNGPM0MQ9IEwsNavOQCHB3KID1gagKb7nziHgjlpqUj6iu o9sA== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id uk19-20020a170907ca1300b0087bdb2961aesi9058628ejc.349.2023.02.11.06.43.24; Sat, 11 Feb 2023 06:43:46 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229848AbjBKOnA (ORCPT + 99 others); Sat, 11 Feb 2023 09:43:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbjBKOmx (ORCPT ); Sat, 11 Feb 2023 09:42:53 -0500 Received: from hosting.gsystem.sk (hosting.gsystem.sk [212.5.213.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DFC2455A5; Sat, 11 Feb 2023 06:42:50 -0800 (PST) Received: from gsql.ggedos.sk (off-20.infotel.telecom.sk [212.5.213.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by hosting.gsystem.sk (Postfix) with ESMTPSA id C4F617A037B; Sat, 11 Feb 2023 15:42:48 +0100 (CET) From: Ondrej Zary To: Damien Le Moal Cc: Christoph Hellwig , Sergey Shtylyov , Jens Axboe , Tim Waugh , linux-block@vger.kernel.org, linux-parport@lists.infradead.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/12] pata_parport: protocol drivers cleanups Date: Sat, 11 Feb 2023 15:42:20 +0100 Message-Id: <20230211144232.15138-1-linux@zary.sk> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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?1757546154074983100?= X-GMAIL-MSGID: =?utf-8?q?1757546154074983100?= This patch series cleans up pata_parport protocol drivers, making the code simpler with no changes in behavior (except logged messages). Signed-off-by: Ondrej Zary --- drivers/ata/pata_parport/aten.c | 45 ++++---------- drivers/ata/pata_parport/bpck.c | 84 +++++++------------------ drivers/ata/pata_parport/bpck6.c | 108 ++++++++------------------------- drivers/ata/pata_parport/comm.c | 52 +++++----------- drivers/ata/pata_parport/dstr.c | 45 ++++---------- drivers/ata/pata_parport/epat.c | 46 +++++--------- drivers/ata/pata_parport/epia.c | 55 +++++------------ drivers/ata/pata_parport/fit2.c | 37 ++++------- drivers/ata/pata_parport/fit3.c | 39 ++++-------- drivers/ata/pata_parport/friq.c | 56 ++++++----------- drivers/ata/pata_parport/frpw.c | 71 ++++++---------------- drivers/ata/pata_parport/kbic.c | 66 +++++++++----------- drivers/ata/pata_parport/ktti.c | 38 ++++-------- drivers/ata/pata_parport/on20.c | 45 ++++---------- drivers/ata/pata_parport/on26.c | 52 ++++------------ drivers/ata/pata_parport/pata_parport.c | 27 ++++----- {include/linux => drivers/ata/pata_parport}/pata_parport.h | 41 ++++--------- 17 files changed, 267 insertions(+), 640 deletions(-)