From a95f6ad75058728f29c9f1b7badcc5314bd9e71b Mon Sep 17 00:00:00 2001 From: Oliver Endriss Date: Fri, 27 Feb 2004 13:45:59 +0000 Subject: coding style fix only --- linux/drivers/media/dvb/ttpci/budget.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'linux/drivers') 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; } -- cgit v1.2.3