From patchwork Fri Feb 16 19:44:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Siqueira X-Patchwork-Id: 10225589 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3D9AB602CB for ; Fri, 16 Feb 2018 19:45:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D72A27C05 for ; Fri, 16 Feb 2018 19:45:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21A70285AA; Fri, 16 Feb 2018 19:45:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C746B27C05 for ; Fri, 16 Feb 2018 19:45:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750912AbeBPTpP (ORCPT ); Fri, 16 Feb 2018 14:45:15 -0500 Received: from mail-qk0-f193.google.com ([209.85.220.193]:36382 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751229AbeBPToq (ORCPT ); Fri, 16 Feb 2018 14:44:46 -0500 Received: by mail-qk0-f193.google.com with SMTP id 15so5210626qkl.3; Fri, 16 Feb 2018 11:44:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=pfFQaZpTY+nQFLZaE3AcJRtCx/Sp2xG/MdRwVlAjsAE=; b=Eu/DoQ8ML68HINhs/jj1VvoupQsdOqgpsGt9GEOeM0/GrbB2NY/mKfJLlae4628LGC lwboHfq0p5vdmOrMMZRcTMN9OldwGQ0S59iWAZ+s8V7Pgf2NBjnTDkyskq6GqWm/jgtw q9D6K4qVG1P9yFRS0/uVH1esMDLIoi70BefHwtrX1coGkN9AuT5Z6ushLpWjH42kH1gs NAJyESLfq6tJ2EIejiFQumHw7imlIngam6BCGT+LblsnDGMeS8tdPmv+4akDP9qVQFik b9FaI9txN/y0XyIv7Aicp4TQOg08el9JRwE0upY1QRFpAKngey5G9kvHmUZQHthTWFG3 JSig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=pfFQaZpTY+nQFLZaE3AcJRtCx/Sp2xG/MdRwVlAjsAE=; b=G2oKqENqwRl25qygK4FAJcxdRjpti4VanyqC7ibw7aoHdKynFop/9zRr0MaBYFDeaL dKYfJFQ9Hq5RsRAFg8iA3MhzskdSpBadJWLEmxo1i1gg15tZ1CGIwhVVXOCWehvriTQM r5hoArtQXC/gjIh4vXkdQELRllnXuC0tc8hOh4a74+2HOb4a7nCFyGumninLe2UB3Thq 3XO6z0k7UJqwj5YI/oYYlA38K00JxWEeURpFpx7qTI1d14sjro58cnLKEZCA2fhZMy6G 13mAN+FSfotywIWErybcSLOrVQUaACna6+qRo2nkzPkz+lh4ajKGkRVI73ntITzA4kc9 r4OQ== X-Gm-Message-State: APf1xPBzR0bawd/Ju1xCn4UkjuY7lMO4psCpiMK2pS7gu522sB7g1fip jjC71OzXefNZ1iHMiWfql9Q= X-Google-Smtp-Source: AH8x2263VR9HxefLu/B9yKMeZ2OliPonZBciYZOjoR+gmd5tEKBa2McI+m8MaiXtButNPu/qEiHwvg== X-Received: by 10.55.54.73 with SMTP id d70mr7205652qka.260.1518810285077; Fri, 16 Feb 2018 11:44:45 -0800 (PST) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id 23sm13760941qtx.33.2018.02.16.11.44.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Feb 2018 11:44:44 -0800 (PST) Date: Fri, 16 Feb 2018 17:44:41 -0200 From: rodrigosiqueira To: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler Cc: daniel.baluta@nxp.com, linux-iio@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] iio:pressure:ms5611: Fix coding style in probe function Message-ID: <20180216194441.nep5zbb5sjf53cj6@smtp.gmail.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20171215 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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 */