OSDN Git Service

iio: chemical: sps30: remove printk format specifier
authorTomasz Duszynski <tduszyns@gmail.com>
Sat, 2 Feb 2019 09:00:03 +0000 (10:00 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 2 Feb 2019 17:08:06 +0000 (17:08 +0000)
pr_fmt is used by printk wrappers. There are not any in the driver
code so remove the format specifier.

Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/sps30.c

index 376fac4..e03a28a 100644 (file)
@@ -7,8 +7,6 @@
  * I2C slave address: 0x69
  */
 
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
 #include <asm/unaligned.h>
 #include <linux/crc8.h>
 #include <linux/delay.h>