diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-05-05 23:11:51 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2008-05-05 23:11:51 -0400 |
commit | 57f76e3bf19a6b6c01191b072729b6f0b2686669 (patch) | |
tree | 020f049a2ebb124dd9d9ca710f62806b16987814 /linux/drivers/media/dvb/siano/smsusb.c | |
parent | 0f1a76fc2bd8cf2742ea855c345ea2d395195804 (diff) | |
download | mediapointer-dvb-s2-57f76e3bf19a6b6c01191b072729b6f0b2686669.tar.gz mediapointer-dvb-s2-57f76e3bf19a6b6c01191b072729b6f0b2686669.tar.bz2 |
sms1xxx: codingstyle cleanup: "foo* bar"/"foo * bar" should be "foo *bar"
From: Michael Krufky <mkrufky@linuxtv.org>
ERROR: "foo* bar" should be "foo *bar"
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/siano/smsusb.c')
-rw-r--r-- | linux/drivers/media/dvb/siano/smsusb.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/linux/drivers/media/dvb/siano/smsusb.c b/linux/drivers/media/dvb/siano/smsusb.c index 8aff377c4..9acbae190 100644 --- a/linux/drivers/media/dvb/siano/smsusb.c +++ b/linux/drivers/media/dvb/siano/smsusb.c @@ -44,7 +44,7 @@ typedef struct _smsusb_urb typedef struct _smsusb_device { - struct usb_device* udev; + struct usb_device *udev; smscore_device_t *coredev; smsusb_urb_t surbs[MAX_URBS]; @@ -53,12 +53,12 @@ typedef struct _smsusb_device int buffer_size; } *psmsusb_device_t; -int smsusb_submit_urb(smsusb_device_t* dev, smsusb_urb_t* surb); +int smsusb_submit_urb(smsusb_device_t *dev, smsusb_urb_t *surb); #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) void smsusb_onresponse(struct urb *urb) #else -void smsusb_onresponse(struct urb *urb, struct pt_regs * regs) +void smsusb_onresponse(struct urb *urb, struct pt_regs *regs) #endif { smsusb_urb_t *surb = (smsusb_urb_t *) urb->context; @@ -108,7 +108,7 @@ exit_and_resubmit: smsusb_submit_urb(dev, surb); } -int smsusb_submit_urb(smsusb_device_t* dev, smsusb_urb_t* surb) +int smsusb_submit_urb(smsusb_device_t *dev, smsusb_urb_t *surb) { if (!surb->cb) { @@ -135,7 +135,7 @@ int smsusb_submit_urb(smsusb_device_t* dev, smsusb_urb_t* surb) return usb_submit_urb(&surb->urb, GFP_ATOMIC); } -void smsusb_stop_streaming(smsusb_device_t* dev) +void smsusb_stop_streaming(smsusb_device_t *dev) { int i; @@ -151,7 +151,7 @@ void smsusb_stop_streaming(smsusb_device_t* dev) } } -int smsusb_start_streaming(smsusb_device_t* dev) +int smsusb_start_streaming(smsusb_device_t *dev) { int i, rc; @@ -171,7 +171,7 @@ int smsusb_start_streaming(smsusb_device_t* dev) int smsusb_sendrequest(void *context, void *buffer, size_t size) { - smsusb_device_t* dev = (smsusb_device_t*) context; + smsusb_device_t *dev = (smsusb_device_t *) context; int dummy; return usb_bulk_msg(dev->udev, usb_sndbulkpipe(dev->udev, 2), buffer, size, &dummy, 1000); @@ -189,7 +189,7 @@ char *smsusb1_fw_lkup[] = int smsusb1_load_firmware(struct usb_device *udev, int id) { const struct firmware *fw; - u8* fw_buffer; + u8 *fw_buffer; int rc, dummy; if (id < DEVICE_MODE_DVBT || id > DEVICE_MODE_DVBT_BDA) @@ -289,7 +289,7 @@ void smsusb_term_device(struct usb_interface *intf) int smsusb_init_device(struct usb_interface *intf) { smsdevice_params_t params; - smsusb_device_t* dev; + smsusb_device_t *dev; int i, rc; // create device object |