diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2019-02-13 08:47:06 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-13 19:45:56 +0100 |
commit | 1aec4211204d9463d1fd209eb50453de16254599 (patch) | |
tree | d54fc893b9e38216e1ce634bf4ad73e7c5a9880d /drivers/parport/probe.c | |
parent | bde4a19fc04f5f46298c86b1acb7a4af1d5f138d (diff) | |
download | linux-1aec4211204d9463d1fd209eb50453de16254599.tar.bz2 |
parport: daisy: use new parport device model
Modify parport daisy driver to use the new parallel port device model.
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/parport/probe.c')
-rw-r--r-- | drivers/parport/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/probe.c b/drivers/parport/probe.c index e035174ba205..e5e6a463a941 100644 --- a/drivers/parport/probe.c +++ b/drivers/parport/probe.c @@ -257,7 +257,7 @@ static ssize_t parport_read_device_id (struct parport *port, char *buffer, ssize_t parport_device_id (int devnum, char *buffer, size_t count) { ssize_t retval = -ENXIO; - struct pardevice *dev = parport_open (devnum, "Device ID probe"); + struct pardevice *dev = parport_open(devnum, daisy_dev_name); if (!dev) return -ENXIO; |