Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1120596lqj; Mon, 3 Jun 2024 10:40:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+DWULWGQfRYElKnB9p9U7JQN9Jaeo0UEsokBYyETuSvV/H2vQ6CcLitcX67E+MqDNVzs0t8UaUWhRYMMYxK46awHF+DboGTtZSubjoA== X-Google-Smtp-Source: AGHT+IF9xJPv6wf5xCiyzO9LSHe3RV4/ixmFCpmfpO2eqd6y3loDo9r4NIqYZxNlv1RgNc7RdhCh X-Received: by 2002:a50:8d56:0:b0:57a:27b9:25f5 with SMTP id 4fb4d7f45d1cf-57a364cec3fmr6715418a12.35.1717436401372; Mon, 03 Jun 2024 10:40:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717436401; cv=pass; d=google.com; s=arc-20160816; b=DtsaxcQGDOPYu4ZpxTDOE5EElBGh+rUEORBAQK/06HNmHYlsjuErKKzn5N7NeuiCfY GVXFcgJI5YgdENpM5tckQkYLiCPgbfQ8KVUOR0H+3aEaPgEzrwG4Jq41rivSIh7MDT20 81Ynx9tUleNAHiM3nR+fdhXH1YMEpn15/7gqBB4E7foHWIS1zlqfEB9es39luySNduFI EEQY95cGrJef93ODnPJfFfh/b3TtFh7yNQC2ogiszJRFdWOZLNRTJUOgDpuNs5anSrhm UNCeFB8LVd+BgGoHVmEa6VMnwDrsiEeV1xPMfTyuMPICjJego5pn2LZvPJHVDJ2WyvPL cnrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=w2SkQCALZUJGPkfKV2Y9xV9yqucWzBmwANClRi5Emqc=; fh=3qev0zh1CH3P4fdLLeJJjbLP+keHrWunsaqDMTPtbMc=; b=0g2yssYmA0tkYj4hX/6XBCOdr7JIQsYb17T/Aw+uI+Ckai0DuVxhXRmMSBehqIKIVN zMnK/qT9MIOZWMRx5/shDN5JzsCgcix8SUfXTpZVQElWN96oJUEcEAPDzM9pzhYzKgfY 1KmdCrkOudnzc56DguNexZGpDMFT3LSBtO8yWhxU9/XATEejUuDlyG1f8dcPWx7vJpqc wTpXtOj6XFgHE9cZtRcrIW1LD8oNk6f4pbgSy541dBOd/4ZchwaShA3zw99MSoW62uLW yvzPaTP1RoX6vGgQTKWpkGvN7tzIQK9f46S8BHSMmD1Jbot78OEHSWTweNy/qEIbGcfT mj9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=sh+oRTR1; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-199524-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199524-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31c6797esi4230323a12.261.2024.06.03.10.40.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 10:40:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199524-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=sh+oRTR1; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-199524-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199524-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1A0491F225F8 for ; Mon, 3 Jun 2024 17:40:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B5ED137911; Mon, 3 Jun 2024 17:39:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="sh+oRTR1" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C93A28382 for ; Mon, 3 Jun 2024 17:39:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717436393; cv=none; b=bFhncRxqGiPiC9IKhOJG5eoT926P/UwkHW2oMk6/7/zjOFvehE5Z0JtCxpHU7+WsGPtf3Z+y40hB9gM9+OcQeH6DgGP8BYwr/zPY/JALYOJGK5YhsHRT6oR9RN2vqn3axskl0mV04eAqKE7h9wjnfbAvQfhslCGZC2JECT0M81w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717436393; c=relaxed/simple; bh=3c3w005UvrCNKiI8kJ/KOZjDllrOuRvQ9VhKuduhfhc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UGjobVIF+ejHqhFh0/c05wQjKziI0iG56cxcCofLK+bgIqiAv0O1H1NT6heGE789WD4Ny9DtzxRf2EjdJcLXLW6OMxhfVqVevlDllr1d5unjG0Zp3zwprmxu4yx8MgKm/pA97/+Z0g78e+Jv9ZR104wPzSxco5Wh3bnJLPhEQ5Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=sh+oRTR1; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=Content-Type:MIME-Version:Message-ID:Subject:From:Date:From :Subject; bh=w2SkQCALZUJGPkfKV2Y9xV9yqucWzBmwANClRi5Emqc=; b=sh+oRTR1y8u452VN w99m3VW4s1WyARCaLvp4yYiB5q17GNYc82acCLjQ+5O78SW3WtgT5HX5JcRQiY/WT0LQ8Tn5mdByN A0bqjNU+n7kJ48pTXrIosyszQdIBDuCH1g9sCJMRxC9txi1iOxQDe1hdlVPSLZTEmZJraec/ygFOY pJmBBGkSSt44W9lvqzUeXfUSqaNGk20x2aFeVh3yxF/VbyJ9xcE1JkwU707qT3AyFFSjlgdx3dKY3 uvVGYBDu3UTWHgE7v5cOrcUEqNz4uOQc9GrrwEcF5WpbRuABD8SZiK1Usz9hG5eimP0uMjVv3fgac qDPxLhxDjbkR8EMhoA==; Received: from dg by mx.treblig.org with local (Exim 4.96) (envelope-from ) id 1sEBeu-00400i-38; Mon, 03 Jun 2024 17:39:48 +0000 Date: Mon, 3 Jun 2024 17:39:48 +0000 From: "Dr. David Alan Gilbert" To: sudipm.mukherjee@gmail.com Cc: arnd@arndb.de, linux-kernel@vger.kernel.org, linux-parport@lists.infradead.org Subject: Re: [PATCH 0/3] parport: Cleanup some pre-devmodel code Message-ID: References: <20240502154823.67235-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: X-Chocolate: 70 percent or better cocoa solids preferably X-Operating-System: Linux/6.1.0-21-amd64 (x86_64) X-Uptime: 17:39:38 up 26 days, 4:53, 1 user, load average: 0.00, 0.02, 0.00 User-Agent: Mutt/2.2.12 (2023-09-09) * Dr. David Alan Gilbert (dave@treblig.org) wrote: > * linux@treblig.org (linux@treblig.org) wrote: > > From: "Dr. David Alan Gilbert" > > > > There are some remenants of the pre-devmodel code > > still in the parport drivers; try and clean some of them out. > > Ping! Ping^2. Dave > Dave > > > This series should have no visible change, all the drivers > > already use the devmodel, it's just removing the flags > > that say that, and cleaning out no longer used function pointers. > > (To me the most useful bit is removing the no longer used > > 'attach' pointer, so if you've got code that's trying to use > > it you'll get educated). > > > > Trivially tested in qemu, I can still write to the lp; > > > > Also checked with grep -r 'struct parport_driver' . -A 9 > > to see if I've missed any. > > > > (I found this while dragging the out-of-tree ppscsi code > > into working on head, so that I could use my prehistoric > > HP PP scanner) > > > > Dave > > > > Dr. David Alan Gilbert (3): > > parport: Remove 'drivers' list > > parport: Remove attach function pointer > > parport: Remove parport_driver.devmodel > > > > drivers/ata/pata_parport/pata_parport.c | 1 - > > drivers/auxdisplay/ks0108.c | 1 - > > drivers/auxdisplay/panel.c | 1 - > > drivers/char/lp.c | 1 - > > drivers/char/ppdev.c | 1 - > > drivers/i2c/busses/i2c-parport.c | 1 - > > drivers/input/joystick/db9.c | 1 - > > drivers/input/joystick/gamecon.c | 1 - > > drivers/input/joystick/turbografx.c | 1 - > > drivers/input/joystick/walkera0701.c | 1 - > > drivers/input/serio/parkbd.c | 1 - > > drivers/net/hamradio/baycom_epp.c | 1 - > > drivers/net/hamradio/baycom_par.c | 1 - > > drivers/net/plip/plip.c | 1 - > > drivers/parport/daisy.c | 1 - > > drivers/parport/share.c | 9 --------- > > drivers/pps/clients/pps_parport.c | 1 - > > drivers/pps/generators/pps_gen_parport.c | 1 - > > drivers/scsi/imm.c | 1 - > > drivers/scsi/ppa.c | 1 - > > drivers/spi/spi-butterfly.c | 1 - > > drivers/spi/spi-lm70llp.c | 1 - > > include/linux/parport.h | 6 ------ > > sound/drivers/mts64.c | 1 - > > sound/drivers/portman2x4.c | 1 - > > 25 files changed, 38 deletions(-) > > > > -- > > 2.44.0 > > > -- > -----Open up your eyes, open up your mind, open up your code ------- > / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ > \ dave @ treblig.org | | In Hex / > \ _________________________|_____ http://www.treblig.org |_______/ > -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/