V4L/DVB (8278): sms1xxx: more codingstyle cleanups
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>hifive-unleashed-5.1
parent
f17407a85d
commit
494d24c527
|
@ -313,13 +313,13 @@ int smsusb_init_device(struct usb_interface *intf)
|
||||||
default:
|
default:
|
||||||
if (dev->udev->descriptor.idProduct == 0x200) {
|
if (dev->udev->descriptor.idProduct == 0x200) {
|
||||||
params.device_type = SMS_NOVA_A0;
|
params.device_type = SMS_NOVA_A0;
|
||||||
printk(KERN_INFO "%s nova A0 found\n", __FUNCTION__ );
|
printk(KERN_INFO "%s nova A0 found\n", __func__ );
|
||||||
} else if (dev->udev->descriptor.idProduct == 0x201) {
|
} else if (dev->udev->descriptor.idProduct == 0x201) {
|
||||||
params.device_type = SMS_NOVA_B0;
|
params.device_type = SMS_NOVA_B0;
|
||||||
printk(KERN_INFO "%s nova B0 found\n", __FUNCTION__);
|
printk(KERN_INFO "%s nova B0 found\n", __func__);
|
||||||
} else {
|
} else {
|
||||||
params.device_type = SMS_VEGA;
|
params.device_type = SMS_VEGA;
|
||||||
printk(KERN_INFO "%s Vega found\n", __FUNCTION__);
|
printk(KERN_INFO "%s Vega found\n", __func__);
|
||||||
}
|
}
|
||||||
|
|
||||||
dev->buffer_size = USB2_BUFFER_SIZE;
|
dev->buffer_size = USB2_BUFFER_SIZE;
|
||||||
|
@ -411,7 +411,7 @@ int smsusb_probe(struct usb_interface *intf, const struct usb_device_id *id)
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = smsusb_init_device(intf);
|
rc = smsusb_init_device(intf);
|
||||||
printk(KERN_INFO "%s rc %d\n", __FUNCTION__, rc);
|
printk(KERN_INFO "%s rc %d\n", __func__, rc);
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue