From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:46620 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957AbeBQMme (ORCPT ); Sat, 17 Feb 2018 07:42:34 -0500 Date: Sat, 17 Feb 2018 12:42:29 +0000 From: Jonathan Cameron To: rodrigosiqueira Cc: Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , daniel.baluta@nxp.com, linux-iio@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] iio:pressure:ms5611: Fix coding style in probe function Message-ID: <20180217124229.18d335fe@archlinux> In-Reply-To: <20180216194441.nep5zbb5sjf53cj6@smtp.gmail.com> References: <20180216194441.nep5zbb5sjf53cj6@smtp.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On Fri, 16 Feb 2018 17:44:41 -0200 rodrigosiqueira wrote: > This patch fixes the checkpatch.pl warning and error: > > iio/pressure/ms5611.h:66: ERROR: code indent should use tabs where possible > iio/pressure/ms5611.h:66: WARNING: please, no spaces at the start of a line > iio/pressure/ms5611.h:66: ERROR: "foo* bar" should be "foo *bar" > > Signed-off-by: Rodrigo Siqueira Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks Daniel for your quick feedback on this. Thanks, Jonathan > --- > Changes in v2: > - Make the commit message more clearer. > > drivers/iio/pressure/ms5611.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/pressure/ms5611.h b/drivers/iio/pressure/ms5611.h > index ccda63c5b3c3..ead9e9f85894 100644 > --- a/drivers/iio/pressure/ms5611.h > +++ b/drivers/iio/pressure/ms5611.h > @@ -63,7 +63,7 @@ struct ms5611_state { > }; > > int ms5611_probe(struct iio_dev *indio_dev, struct device *dev, > - const char* name, int type); > + const char *name, int type); > int ms5611_remove(struct iio_dev *indio_dev); > > #endif /* _MS5611_H */