summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/siano/smsdvb.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-05-05 23:52:44 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-05-05 23:52:44 -0400
commit6d140732833c2c9db484133f00c798d63fedc243 (patch)
tree8d790d79cce694addae7b15b1cc4bf865166aa96 /linux/drivers/media/dvb/siano/smsdvb.c
parent57f76e3bf19a6b6c01191b072729b6f0b2686669 (diff)
downloadmediapointer-dvb-s2-6d140732833c2c9db484133f00c798d63fedc243.tar.gz
mediapointer-dvb-s2-6d140732833c2c9db484133f00c798d63fedc243.tar.bz2
sms1xxx: codingstyle cleanup: "(foo*)" should be "(foo *)"
From: Michael Krufky <mkrufky@linuxtv.org> ERROR: "(foo*)" should be "(foo *)" Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/siano/smsdvb.c')
-rw-r--r--linux/drivers/media/dvb/siano/smsdvb.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/siano/smsdvb.c b/linux/drivers/media/dvb/siano/smsdvb.c
index 717e0e97f..6975e7c61 100644
--- a/linux/drivers/media/dvb/siano/smsdvb.c
+++ b/linux/drivers/media/dvb/siano/smsdvb.c
@@ -32,12 +32,13 @@ kmutex_t g_smsdvb_clientslock;
int smsdvb_onresponse(void *context, smscore_buffer_t *cb)
{
smsdvb_client_t *client = (smsdvb_client_t *) context;
- SmsMsgHdr_ST *phdr = (SmsMsgHdr_ST *)(((u8*) cb->p) + cb->offset);
+ SmsMsgHdr_ST *phdr = (SmsMsgHdr_ST *)(((u8 *) cb->p) + cb->offset);
switch(phdr->msgType)
{
case MSG_SMS_DVBT_BDA_DATA:
- dvb_dmx_swfilter(&client->demux, (u8*)(phdr + 1), cb->size - sizeof(SmsMsgHdr_ST));
+ dvb_dmx_swfilter(&client->demux, (u8 *)(phdr + 1),
+ cb->size - sizeof(SmsMsgHdr_ST));
break;
case MSG_SMS_RF_TUNE_RES:
@@ -46,7 +47,8 @@ int smsdvb_onresponse(void *context, smscore_buffer_t *cb)
case MSG_SMS_GET_STATISTICS_RES:
{
- SmsMsgStatisticsInfo_ST* p = (SmsMsgStatisticsInfo_ST*)(phdr + 1);
+ SmsMsgStatisticsInfo_ST *p =
+ (SmsMsgStatisticsInfo_ST *)(phdr + 1);
if (p->Stat.IsDemodLocked)
{
@@ -97,7 +99,7 @@ void smsdvb_onremove(void *context)
{
kmutex_lock(&g_smsdvb_clientslock);
- smsdvb_unregister_client((smsdvb_client_t*) context);
+ smsdvb_unregister_client((smsdvb_client_t *) context);
kmutex_unlock(&g_smsdvb_clientslock);
}
@@ -420,7 +422,7 @@ void smsdvb_unregister(void)
kmutex_lock(&g_smsdvb_clientslock);
while (!list_empty(&g_smsdvb_clients))
- smsdvb_unregister_client((smsdvb_client_t*) g_smsdvb_clients.next);
+ smsdvb_unregister_client((smsdvb_client_t *) g_smsdvb_clients.next);
kmutex_unlock(&g_smsdvb_clientslock);