aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/siano/smsdvb.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-05-06 02:11:51 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:21:01 -0400
commita83ccdd6a952eb25d3f51dfdc175c1e9bf8f7cae (patch)
tree0e02f95689fb357a986f5cd17e9c9135fd588fc7 /drivers/media/dvb/siano/smsdvb.c
parent3617691fb98b81850640a9b61fb932b798ad4504 (diff)
V4L/DVB (8275): sms1xxx: codingstyle cleanup: "foo* bar"/"foo * bar" should be "foo *bar"
ERROR: "foo* bar" should be "foo *bar" ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/siano/smsdvb.c')
-rw-r--r--drivers/media/dvb/siano/smsdvb.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/media/dvb/siano/smsdvb.c b/drivers/media/dvb/siano/smsdvb.c
index 1a75033c35d..717e0e97fd1 100644
--- a/drivers/media/dvb/siano/smsdvb.c
+++ b/drivers/media/dvb/siano/smsdvb.c
@@ -79,7 +79,7 @@ int smsdvb_onresponse(void *context, smscore_buffer_t *cb)
79 return 0; 79 return 0;
80} 80}
81 81
82void smsdvb_unregister_client(smsdvb_client_t* client) 82void smsdvb_unregister_client(smsdvb_client_t *client)
83{ 83{
84 // must be called under clientslock 84 // must be called under clientslock
85 85
@@ -136,7 +136,9 @@ static int smsdvb_stop_feed(struct dvb_demux_feed *feed)
136 return smsclient_sendrequest(client->smsclient, &PidMsg, sizeof(PidMsg)); 136 return smsclient_sendrequest(client->smsclient, &PidMsg, sizeof(PidMsg));
137} 137}
138 138
139static int smsdvb_sendrequest_and_wait(smsdvb_client_t *client, void* buffer, size_t size, struct completion *completion) 139static int smsdvb_sendrequest_and_wait(smsdvb_client_t *client,
140 void *buffer, size_t size,
141 struct completion *completion)
140{ 142{
141 int rc = smsclient_sendrequest(client->smsclient, buffer, size); 143 int rc = smsclient_sendrequest(client->smsclient, buffer, size);
142 if (rc < 0) 144 if (rc < 0)
@@ -283,10 +285,11 @@ static struct dvb_frontend_ops smsdvb_fe_ops = {
283 .read_snr = smsdvb_read_snr, 285 .read_snr = smsdvb_read_snr,
284}; 286};
285 287
286int smsdvb_hotplug(smscore_device_t *coredev, struct device* device, int arrival) 288int smsdvb_hotplug(smscore_device_t *coredev, struct device *device,
289 int arrival)
287{ 290{
288 smsclient_params_t params; 291 smsclient_params_t params;
289 smsdvb_client_t* client; 292 smsdvb_client_t *client;
290 int rc; 293 int rc;
291 294
292 // device removal handled by onremove callback 295 // device removal handled by onremove callback