summaryrefslogtreecommitdiff
path: root/drivers/media/pci/saa7134/saa7134-i2c.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-13 20:09:42 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-13 20:16:43 +0300
commit6139ebc65807e6d3bf60128cc42e85bcb7f578ba (patch)
tree7b07ac01df9ce09256a319c485b7ce200243f00c /drivers/media/pci/saa7134/saa7134-i2c.c
parent45f38cb3b80311ade3c87000f7d7a8f6ebd60a43 (diff)
downloadlinux-6139ebc65807e6d3bf60128cc42e85bcb7f578ba.tar.xz
[media] saa7134: fix CodingStyle issues on the lines touched by pr_foo refactor
Several lines touched by the pr_foo refactoring patches are not following the Linux Coding style. While we won't be fixing the style globally at the driver, we should, at least, fix on the lines we touched. Basically, this patch add (or remove) whitespaces and blank lines where needed. No functional changes. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/saa7134/saa7134-i2c.c')
-rw-r--r--drivers/media/pci/saa7134/saa7134-i2c.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/pci/saa7134/saa7134-i2c.c b/drivers/media/pci/saa7134/saa7134-i2c.c
index b90434b41efe..8ef6399d794f 100644
--- a/drivers/media/pci/saa7134/saa7134-i2c.c
+++ b/drivers/media/pci/saa7134/saa7134-i2c.c
@@ -267,7 +267,7 @@ static int saa7134_i2c_xfer(struct i2c_adapter *i2c_adap,
* needed to talk to the mt352 demux
* thanks to pinnacle for the hint */
int quirk = 0xfe;
- i2c_cont(1, " [%02x quirk]",quirk);
+ i2c_cont(1, " [%02x quirk]", quirk);
i2c_send_byte(dev,START,quirk);
i2c_recv_byte(dev);
}
@@ -374,8 +374,9 @@ saa7134_i2c_eeprom(struct saa7134_dev *dev, unsigned char *eedata, int len)
return -1;
}
- for (i = 0; i < len; i+= 16) {
+ for (i = 0; i < len; i += 16) {
int size = (len - i) > 16 ? 16 : len - i;
+
pr_info("i2c eeprom %02x: %*ph\n", i, size, &eedata[i]);
}