Received: by 10.213.65.68 with SMTP id h4csp1311318imn; Thu, 29 Mar 2018 02:15:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx49RaG6B0MlOmwhMkdjX0LGebrqUOW6u5QBKFw0ogg4zpZ3Ol3WSRibfrPza1JyNI6G8kGuu X-Received: by 2002:a17:902:3124:: with SMTP id w33-v6mr7717392plb.119.1522314911181; Thu, 29 Mar 2018 02:15:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522314911; cv=none; d=google.com; s=arc-20160816; b=RKgkIyhqwDEbSM+TCTmuT98ADmrUwg3eV/PiExTH/YB2Reb7xvs1rQ9a5YLLaqHTKX eh2+WbBnOOuUV9oshddidTi8ZBONt1XLUt4lZ3I2c+rA8dxZeSdRNxf0UCZh33XahTqq /qa6CQtk9Lpr76Ve7hQhUuuZcu+u4LVqrrrkI84vB3ZJ/QHH19QwiAuTG39HWhalHzCJ 7d1XDsbcpL2Cwo9v+6c8VoMj3yE9ndTrbKH9F9Ss36WbZAi3pBKHXzct6vhFEKwcvaT7 mupdwmLGqNFS/x1CFMH4fBs3Sdrm6B0svsQj+9TBATAxMLorbturEIkeFYJvz/IUxKt1 qfHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=4s/K4HOURz9u+K/7UEF+a/TmVFo/JbfMjF8VeshcSkk=; b=OpZyl/LRn3iyA70pKN8cWU7XPAFRGBnnboJFVGxsLCtHre4grI8yesXklnmCdCFB0u Tw3+iZsh3NVcZ1e8RVlri1kAR9hih6wYhonwEnfo1KRxm9t7D6H4FiAk8pbFfxcsNfGO cvFBSHe+IsDyCastVlFQUcJzeoHYFlmBWguNc2nLWuIREvqAbalbKha5bHp7tHLCSHe5 kG+II3Ch5bY3lALpRe3qCWArJIO19RGHtyWFolPQqdARaxN5mGezDLRrGdWp12gyCZ1s mIBHogItUrnSQhVaFqU94KYstwoxqYpRK05H3tDEDDjcNgm0X68WZHnik3dFt9za3/4d fVEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=F+OyaXx8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12si3725785pgd.240.2018.03.29.02.14.56; Thu, 29 Mar 2018 02:15:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=F+OyaXx8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752163AbeC2JNb (ORCPT + 99 others); Thu, 29 Mar 2018 05:13:31 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:42903 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750707AbeC2JN3 (ORCPT ); Thu, 29 Mar 2018 05:13:29 -0400 Received: by mail-pg0-f65.google.com with SMTP id f10so2667765pgs.9; Thu, 29 Mar 2018 02:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4s/K4HOURz9u+K/7UEF+a/TmVFo/JbfMjF8VeshcSkk=; b=F+OyaXx8bG5QEHMot00+7bKq4QhpQUMfEAm8kbHrbv3yYDj6YKFCw9x1JseMuta3LB 5wRAvhoc7kwdmVBaOUtKptg2rs/0h5/BXyJPAG4nbEgy41Sb172FycoYCHYCCNUOstFm OCQDSNHDtk67V7txl2AR9rrgfS0+Cey0aK7M/OKsRfm3IFWlYsXHsoeuzG1f0cUcaYCJ UwiGclmc4Y40IE/wN9pDKE+38FHYZuZXkpiMxx6j7Ewj3lbyuy2BPAuDxnTyIk2Twz5n QgMSH9fkSyDeEy+Bp+nMcZ2/a+vjy5HJRDScdP46GMf0uJ9myrQiQNuS1mRyDA1KchbR N+KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4s/K4HOURz9u+K/7UEF+a/TmVFo/JbfMjF8VeshcSkk=; b=Zg5psnBVGskmbCAuHwzYKxII/NTTeu/L7uiFxlpmWlD1XwtHy796Hn+W+qZ4GRk8I5 QpUSqOCapgUhijB5NaO+FbndNkecs7OtRk9rYBoJ4dPLCXK6kQXV8OE9QrC5GpBFdFB8 3DQRxzSQLYw+V94/M+K7T1UTP5M8ih90dJ+w697P8mdHXvUr6NG7hczC8y2LQt0N/55i zPLdJX5zGRPkp7YXSk2d4hVP7i834Rk8OrrUeJh8mVtgAZlFEdfJnYg1CysKCgaII5fV 8BBXlXRT0fh/OBX+IdLJFAiHDPfK5cmpMYGqWloEz0gkABLFq0NYvVdWAsZo8lnWpd+8 JKtg== X-Gm-Message-State: AElRT7EEmAr9pKsV7d+zGuUeSX4nnSFIPOU5MiCtifLpR7XK1H3YarR+ x0lGpQGBNNmfTjYIWoN1pKYlYw== X-Received: by 10.99.170.9 with SMTP id e9mr4904917pgf.331.1522314808862; Thu, 29 Mar 2018 02:13:28 -0700 (PDT) Received: from shreeya-VirtualBox ([103.212.140.137]) by smtp.gmail.com with ESMTPSA id q17sm9802818pgt.7.2018.03.29.02.13.27 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Mar 2018 02:13:28 -0700 (PDT) From: Shreeya Patel To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, Michael.Hennerich@analog.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, daniel.baluta@gmail.com Cc: Shreeya Patel Subject: [PATCH v6 2/6] Staging: iio: adis16209: Prefer reverse christmas tree ordering Date: Thu, 29 Mar 2018 14:43:23 +0530 Message-Id: <3f021293e6183f6fefb597a9a01b762b73d69bc3.1522306893.git.shreeya.patel23498@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Prefer reverse christmas tree ordering of declarations to improve readability. Signed-off-by: Shreeya Patel --- Changes in v6 -Introduce this new patch in the series. drivers/staging/iio/accel/adis16209.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/iio/accel/adis16209.c b/drivers/staging/iio/accel/adis16209.c index 0e6366a..8f4fa6b 100644 --- a/drivers/staging/iio/accel/adis16209.c +++ b/drivers/staging/iio/accel/adis16209.c @@ -270,9 +270,9 @@ static const struct adis_data adis16209_data = { static int adis16209_probe(struct spi_device *spi) { - int ret; - struct adis *st; struct iio_dev *indio_dev; + struct adis *st; + int ret; indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st)); if (!indio_dev) -- 2.7.4