usb-serial-bus: tidy coding style

Tidy up

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Alan Cox 2008-07-22 11:09:48 +01:00 коммит произвёл Linus Torvalds
Родитель b69c14992e
Коммит c97611c16d
1 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -15,7 +15,8 @@
#include <linux/usb.h>
#include <linux/usb/serial.h>
static int usb_serial_device_match (struct device *dev, struct device_driver *drv)
static int usb_serial_device_match(struct device *dev,
struct device_driver *drv)
{
struct usb_serial_driver *driver;
const struct usb_serial_port *port;
@ -94,9 +95,8 @@ static int usb_serial_device_remove (struct device *dev)
int minor;
port = to_usb_serial_port(dev);
if (!port) {
if (!port)
return -ENODEV;
}
device_remove_file(&port->dev, &dev_attr_port_number);