summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/budget.c
diff options
context:
space:
mode:
authorOliver Endriss <devnull@localhost>2004-02-27 13:45:59 +0000
committerOliver Endriss <devnull@localhost>2004-02-27 13:45:59 +0000
commita95f6ad75058728f29c9f1b7badcc5314bd9e71b (patch)
treea6bb5673164f56750c6c05b7711808f2116244f0 /linux/drivers/media/dvb/ttpci/budget.c
parent3e826659c005cc632d7e9e1679215c1c6b3fa6ba (diff)
downloadmediapointer-dvb-s2-a95f6ad75058728f29c9f1b7badcc5314bd9e71b.tar.gz
mediapointer-dvb-s2-a95f6ad75058728f29c9f1b7badcc5314bd9e71b.tar.bz2
coding style fix only
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/budget.c')
-rw-r--r--linux/drivers/media/dvb/ttpci/budget.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget.c b/linux/drivers/media/dvb/ttpci/budget.c
index d3d12822e..93691c15f 100644
--- a/linux/drivers/media/dvb/ttpci/budget.c
+++ b/linux/drivers/media/dvb/ttpci/budget.c
@@ -155,20 +155,21 @@ int budget_diseqc_ioctl (struct dvb_frontend *fe, unsigned int cmd, void *arg)
static int SetVoltage_Activy (struct budget *budget, fe_sec_voltage_t voltage)
{
struct saa7146_dev *dev=budget->dev;
+
DEB_EE(("budget: %p\n",budget));
switch (voltage) {
- case SEC_VOLTAGE_13:
- saa7146_setgpio(dev, 2, SAA7146_GPIO_OUTLO);
- break;
- case SEC_VOLTAGE_18:
- saa7146_setgpio(dev, 2, SAA7146_GPIO_OUTHI);
- break;
- default:
- return -EINVAL;
- };
-
- return 0;
+ case SEC_VOLTAGE_13:
+ saa7146_setgpio(dev, 2, SAA7146_GPIO_OUTLO);
+ break;
+ case SEC_VOLTAGE_18:
+ saa7146_setgpio(dev, 2, SAA7146_GPIO_OUTHI);
+ break;
+ default:
+ return -EINVAL;
+ }
+
+ return 0;
}
@@ -183,7 +184,7 @@ static int budget_ioctl_activy (struct dvb_frontend *fe, unsigned int cmd, void
return SetVoltage_Activy (budget, (fe_sec_voltage_t) arg);
default:
return -EOPNOTSUPP;
- };
+ }
return 0;
}