[OPW,kernel,3/3] Staging: iio: fix printk(KERN_INFO ..
diff mbox

Message ID 1381062926-7629-3-git-send-email-ebru.akagunduz@gmail.com
State Not Applicable
Headers show

Commit Message

Ebru Akagündüz Oct. 6, 2013, 12:35 p.m. UTC
Fix checkpatch.pl issues with prefer netdev_info(netdev, ... then dev_info(dev, ..
then pr_info(.. to printk(KERN_INFO .. in sca3000_ring.c

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
---
 drivers/staging/iio/accel/sca3000_ring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

diff --git a/drivers/staging/iio/accel/sca3000_ring.c b/drivers/staging/iio/accel/sca3000_ring.c
index 46c843d..8fa3dd8 100644
--- a/drivers/staging/iio/accel/sca3000_ring.c
+++ b/drivers/staging/iio/accel/sca3000_ring.c
@@ -304,7 +304,7 @@  int __sca3000_hw_ring_state_set(struct iio_dev *indio_dev, bool state)
 	if (ret)
 		goto error_ret;
 	if (state) {
-		printk(KERN_INFO "supposedly enabling ring buffer\n");
+		pr_info("supposedly enabling ring buffer\n");
 		ret = sca3000_write_reg(st,
 					SCA3000_REG_ADDR_MODE,
 					(st->rx[0] | SCA3000_RING_BUF_ENABLE));