summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorTomasz Duszynski <tduszyns@gmail.com>2019-02-02 10:00:03 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-02-02 18:08:06 +0100
commit3fa30bf7004bb8069826ef85487f4753666a73da (patch)
tree116b24dc77ae16693005df22a6d6be4298a74096 /drivers/iio
parentstaging: iio: frequency: ad9833: Load clock using clock framework (diff)
downloadlinux-3fa30bf7004bb8069826ef85487f4753666a73da.tar.xz
linux-3fa30bf7004bb8069826ef85487f4753666a73da.zip
iio: chemical: sps30: remove printk format specifier
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>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/chemical/sps30.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/chemical/sps30.c b/drivers/iio/chemical/sps30.c
index 376fac41ecb5..e03a28a67146 100644
--- a/drivers/iio/chemical/sps30.c
+++ b/drivers/iio/chemical/sps30.c
@@ -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>