Commit 74058c59 authored by Christoph Fanelsa's avatar Christoph Fanelsa Committed by Mauro Carvalho Chehab

[media] staging: media: cxd2099: Fix checkpatch issues

Fix checkpatch warnings of prefered using '%s..", __func__' as function
name in a string
Signed-off-by: default avatarChristoph Fanelsa <eddi1983@gmx.net>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent a9fad21a
...@@ -473,7 +473,7 @@ static int slot_shutdown(struct dvb_ca_en50221 *ca, int slot) ...@@ -473,7 +473,7 @@ static int slot_shutdown(struct dvb_ca_en50221 *ca, int slot)
{ {
struct cxd *ci = ca->data; struct cxd *ci = ca->data;
dev_info(&ci->i2c->dev, "slot_shutdown\n"); dev_info(&ci->i2c->dev, "%s\n", __func__);
mutex_lock(&ci->lock); mutex_lock(&ci->lock);
write_regm(ci, 0x09, 0x08, 0x08); write_regm(ci, 0x09, 0x08, 0x08);
write_regm(ci, 0x20, 0x80, 0x80); /* Reset CAM Mode */ write_regm(ci, 0x20, 0x80, 0x80); /* Reset CAM Mode */
...@@ -564,7 +564,7 @@ static int read_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount) ...@@ -564,7 +564,7 @@ static int read_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount)
campoll(ci); campoll(ci);
mutex_unlock(&ci->lock); mutex_unlock(&ci->lock);
dev_info(&ci->i2c->dev, "read_data\n"); dev_info(&ci->i2c->dev, "%s\n", __func__);
if (!ci->dr) if (!ci->dr)
return 0; return 0;
...@@ -584,7 +584,7 @@ static int write_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount) ...@@ -584,7 +584,7 @@ static int write_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount)
struct cxd *ci = ca->data; struct cxd *ci = ca->data;
mutex_lock(&ci->lock); mutex_lock(&ci->lock);
dev_info(&ci->i2c->dev, "write_data %d\n", ecount); dev_info(&ci->i2c->dev, "%s %d\n", __func__, ecount);
write_reg(ci, 0x0d, ecount >> 8); write_reg(ci, 0x0d, ecount >> 8);
write_reg(ci, 0x0e, ecount & 0xff); write_reg(ci, 0x0e, ecount & 0xff);
write_block(ci, 0x11, ebuf, ecount); write_block(ci, 0x11, ebuf, ecount);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment