[Linux-parport] [PATCH 2/3] parport: Remove attach function pointer

Sudip Mukherjee sudipm.mukherjee at gmail.com
Sun Jun 30 14:01:50 PDT 2024


On Thu, May 02, 2024 at 04:48:22PM +0100, linux at treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux at treblig.org>
> 
> The attach function pointers haven't actually been called since:
>   'commit 3275158fa52a ("parport: remove use of devmodel")'
> topped adding entries to the drivers list.
> 
> If you're converting a driver, look at the 'match_port' function
> pointer instead.
> 
> (There are lots of comment references to 'attach' all over, but they
> probably need some deeper understanding to check the semantics
> to see if they can be replaced by match_port).
> 
> Signed-off-by: Dr. David Alan Gilbert <linux at treblig.org>

Acked-by: Sudip Mukherjee <sudipm.mukherjee at gmail.com>

-- 
Regards
Sudip



More information about the Linux-parport mailing list