summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-01-21 13:57:48 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2007-01-21 13:57:48 -0500
commite9f51c1596685e652f88d6bbd9173bb0d0676ae0 (patch)
treecfd200bda5f0c264f7910628922aa4e6b727d14f /linux
parent22779dda1dcad43567d722ca5c412c07bbe2f67f (diff)
downloadmediapointer-dvb-s2-e9f51c1596685e652f88d6bbd9173bb0d0676ae0.tar.gz
mediapointer-dvb-s2-e9f51c1596685e652f88d6bbd9173bb0d0676ae0.tar.bz2
whitespace / 80-column cleanups
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/m920x.c24
1 files changed, 16 insertions, 8 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/m920x.c b/linux/drivers/media/dvb/dvb-usb/m920x.c
index b65ba6ee1..495e92f4c 100644
--- a/linux/drivers/media/dvb/dvb-usb/m920x.c
+++ b/linux/drivers/media/dvb/dvb-usb/m920x.c
@@ -39,7 +39,8 @@ static struct dvb_usb_rc_key megasky_rc_keys [] = {
{ 0x0, 0x0e, KEY_COFFEE }, /* "MTS" */
};
-static inline int m9206_read(struct usb_device *udev, u8 request, u16 value, u16 index, void *data, int size)
+static inline int m9206_read(struct usb_device *udev, u8 request, u16 value,\
+ u16 index, void *data, int size)
{
int ret;
@@ -55,7 +56,8 @@ static inline int m9206_read(struct usb_device *udev, u8 request, u16 value, u16
return 0;
}
-static inline int m9206_write(struct usb_device *udev, u8 request, u16 value, u16 index)
+static inline int m9206_write(struct usb_device *udev, u8 request,
+ u16 value, u16 index)
{
int ret;
@@ -138,7 +140,8 @@ static int m9206_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
}
/* I2C */
-static int m9206_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num)
+static int m9206_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
+ int num)
{
struct dvb_usb_device *d = i2c_get_adapdata(adap);
struct m9206_state *m = d->priv;
@@ -263,7 +266,8 @@ static int megasky_frontend_attach(struct dvb_usb_adapter *adap)
return 0;
}
-static int m9206_set_filter(struct dvb_usb_adapter *adap, int type, int idx, int pid)
+static int m9206_set_filter(struct dvb_usb_adapter *adap, int type, int idx,
+ int pid)
{
int ret = 0;
@@ -330,7 +334,8 @@ static int m9206_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
return m9206_update_filters(adap);
}
-static int m9206_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff)
+static int m9206_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid,
+ int onoff)
{
struct m9206_state *m = adap->dev->priv;
@@ -339,7 +344,8 @@ static int m9206_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, in
return m9206_update_filters(adap);
}
-static int m9206_firmware_download(struct usb_device *udev, const struct firmware *fw)
+static int m9206_firmware_download(struct usb_device *udev,
+ const struct firmware *fw)
{
u16 value, index, size;
u8 read[4], *buff;
@@ -422,7 +428,8 @@ static int megasky_tuner_attach(struct dvb_usb_adapter *adap)
/* DVB USB Driver stuff */
static struct dvb_usb_device_properties megasky_properties;
-static int m920x_probe(struct usb_interface *intf, const struct usb_device_id *id)
+static int m920x_probe(struct usb_interface *intf,
+ const struct usb_device_id *id)
{
struct dvb_usb_device *d;
struct usb_host_interface *alt;
@@ -437,7 +444,8 @@ static int m920x_probe(struct usb_interface *intf, const struct usb_device_id *i
return -ENODEV;
}
- ret = usb_set_interface(d->udev, alt->desc.bInterfaceNumber, alt->desc.bAlternateSetting);
+ ret = usb_set_interface(d->udev, alt->desc.bInterfaceNumber,
+ alt->desc.bAlternateSetting);
if (ret < 0)
return ret;