summaryrefslogtreecommitdiffstats
path: root/drivers/char/lp.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-05-02 17:48:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-03 16:44:22 +0200
commitdfd19866d1a3f681cc12aae67ab05011eb3aa3d8 (patch)
treeb652a28b8399ed40764f55c3e8b3834a874b2406 /drivers/char/lp.c
parentparport: Remove attach function pointer (diff)
downloadlinux-dfd19866d1a3f681cc12aae67ab05011eb3aa3d8.tar.xz
linux-dfd19866d1a3f681cc12aae67ab05011eb3aa3d8.zip
parport: Remove parport_driver.devmodel
'devmodel' hasn't actually been used since: 'commit 3275158fa52a ("parport: remove use of devmodel")' and everyone now has it set to true and has been fixed up; remove the flag. (There are still comments all over about it) Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Link: https://lore.kernel.org/r/20240502154823.67235-4-linux@treblig.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/lp.c')
-rw-r--r--drivers/char/lp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/lp.c b/drivers/char/lp.c
index 5faebe0365c5..24417a00dfe9 100644
--- a/drivers/char/lp.c
+++ b/drivers/char/lp.c
@@ -1016,7 +1016,6 @@ static struct parport_driver lp_driver = {
.name = "lp",
.match_port = lp_attach,
.detach = lp_detach,
- .devmodel = true,
};
static int __init lp_init(void)