From: Jonathan Cameron <jic23@jic23.retrosnub.co.uk>
To: Tomasz Duszynski <tduszyns@gmail.com>
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: chemical: sps30: remove printk format specifier
Date: Sat, 2 Feb 2019 17:08:52 +0000 [thread overview]
Message-ID: <20190202170844.6b8eca21@archlinux> (raw)
In-Reply-To: <20190202090003.23225-1-tduszyns@gmail.com>
On Sat, 2 Feb 2019 10:00:03 +0100
Tomasz Duszynski <tduszyns@gmail.com> wrote:
> 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>
Applied to the togreg branch of iio.git and pushed out
as testing for the autobuilders to mostly ignore it.
Thanks,
Jonathan
> ---
> drivers/iio/chemical/sps30.c | 2 --
> 1 file changed, 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>
> --
> 2.20.1
>
prev parent reply other threads:[~2019-02-02 17:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-02 9:00 [PATCH] iio: chemical: sps30: remove printk format specifier Tomasz Duszynski
2019-02-02 17:08 ` Jonathan Cameron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190202170844.6b8eca21@archlinux \
--to=jic23@jic23.retrosnub.co.uk \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tduszyns@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).