pr_fmt is used by printk wrappers. There are not any in the driver code so remove the format specifier.
Unified · Split
| @@ -7,8 +7,6 @@ · 6 unmodified lines | |||
| 7 | * I2C slave address: 0x69 | 7 | * I2C slave address: 0x69 |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
| 11 | |||
| 12 | #include <asm/unaligned.h> | 10 | #include <asm/unaligned.h> |
| 13 | #include <linux/crc8.h> | 11 | #include <linux/crc8.h> |
| 14 | #include <linux/delay.h> | 12 | #include <linux/delay.h> |