summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-05-02 18:48:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-03 17:44:22 +0300
commitdfd19866d1a3f681cc12aae67ab05011eb3aa3d8 (patch)
treeb652a28b8399ed40764f55c3e8b3834a874b2406 /drivers/char
parented06e054906c5e7853a36d9ddad8fc94dbb8c252 (diff)
downloadlinux-dfd19866d1a3f681cc12aae67ab05011eb3aa3d8.tar.xz
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')
-rw-r--r--drivers/char/lp.c1
-rw-r--r--drivers/char/ppdev.c1
2 files changed, 0 insertions, 2 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)
diff --git a/drivers/char/ppdev.c b/drivers/char/ppdev.c
index 3655aa859185..eaff98dbaa8c 100644
--- a/drivers/char/ppdev.c
+++ b/drivers/char/ppdev.c
@@ -839,7 +839,6 @@ static struct parport_driver pp_driver = {
.probe = pp_probe,
.match_port = pp_attach,
.detach = pp_detach,
- .devmodel = true,
};
static int __init ppdev_init(void)