aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/parport.h
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2020-04-03 14:43:24 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-23 17:05:39 +0200
commitbae9defb06a781083844cafd0a359f423cd98388 (patch)
treedc6054dcba3c4805f7d1696d873ea760a769367b /include/linux/parport.h
parentparport: Add comments for parport_register_dev_model() (diff)
downloadwireguard-linux-bae9defb06a781083844cafd0a359f423cd98388.tar.xz
wireguard-linux-bae9defb06a781083844cafd0a359f423cd98388.zip
parport: remove unused parport_register_device()
All the drivers that are using parallel port has been converted to use the new device model api, and parport_register_device() is no longer used. Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Link: https://lore.kernel.org/r/20200403134325.11523-10-sudipm.mukherjee@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/parport.h')
-rw-r--r--include/linux/parport.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/parport.h b/include/linux/parport.h
index 36a0f6270238..1fb508c19e83 100644
--- a/include/linux/parport.h
+++ b/include/linux/parport.h
@@ -325,18 +325,6 @@ struct pardev_cb {
unsigned int flags;
};
-/* parport_register_device declares that a device is connected to a
- port, and tells the kernel all it needs to know.
- - pf is the preemption function (may be NULL for no callback)
- - kf is the wake-up function (may be NULL for no callback)
- - irq_func is the interrupt handler (may be NULL for no interrupts)
- - handle is a user pointer that gets handed to callback functions. */
-struct pardevice *parport_register_device(struct parport *port,
- const char *name,
- int (*pf)(void *), void (*kf)(void *),
- void (*irq_func)(void *),
- int flags, void *handle);
-
/*
* parport_register_dev_model declares that a device is connected to a
* port, and tells the kernel all it needs to know.