Received: by 10.213.65.68 with SMTP id h4csp1312694imn; Thu, 29 Mar 2018 02:17:05 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+voAftvMFpd6k96A6i5s9KoLnj3BLBVsNohdqvE/i2shkkI/21cmmQvEIlmnjBmzQzAHvJ X-Received: by 2002:a17:902:5a0b:: with SMTP id q11-v6mr7664659pli.199.1522315025643; Thu, 29 Mar 2018 02:17:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522315025; cv=none; d=google.com; s=arc-20160816; b=x07OsjiATvai8g2AUUqPuqSQ0mSfAlKoANp2Wql3L+dJg0ihnEXM1zRgMVJ3u8Dp97 Y85PrWe8uKizi3i22z0pUwNYIt/bUSj8YSoIKMI2H0H+MqIeIoi71GCKGmy5celiKTZ/ RR9piXZtmsv7WYV2oZI+aesMt47+mXKT1d4wjXGWGz9CMb/5urfB+bZG63Bc6vsr+1Vx VTexMzRxQCSAZUR/vP5IM62YZTB1tes+A8r5YP0Y//+Ux2+otFbpLCZ9oTQf4DAQYyle UitVReBj8KdT0cDHKrc3rQC2fJjO8ICI71MEK9Pyx2WZISduJ/EeBz6s1gKtapja6av/ SYDA== 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=/TUTFAa/rPvMLM4HDupr3gf7wkOPNjMYRSiGAyTNLWc=; b=pVNtcvXM8LmgItjm/26tIUJnA4JEd9XXHlVVRRAaBi1BrYLb3qAx7S9fjMIIRyCwon kGq1MPDKuwbSXLMvNzo+LZH2laf+zwc24gAPEc0aXPpvm/ahxVnN0PaQSuttqFIPnGW3 6ttluZl4U5IRQW4a3Dm5SHS2vcSOcvVkKyTcS+8P0iME/NUMLVtHnY8JAl+je3QEkkhn Tny+mEHpfeIyZp8jHzyNdD2MvHmnXa/zxE60mRA+Ca+4dcbNaLcJdY/i0kHFQEnUgpWY TUKMegftRdNEWOvDxLaR7KNuSBHmgmVH06fXLuGPviPockyWFOkfPL7WG5CPkkComq6C uy/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iZeq7WAX; 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 h6-v6si5312861pll.328.2018.03.29.02.16.51; Thu, 29 Mar 2018 02:17:05 -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=iZeq7WAX; 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 S1751341AbeC2JOt (ORCPT + 99 others); Thu, 29 Mar 2018 05:14:49 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:43918 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750716AbeC2JOr (ORCPT ); Thu, 29 Mar 2018 05:14:47 -0400 Received: by mail-pf0-f194.google.com with SMTP id j2so2814193pff.10; Thu, 29 Mar 2018 02:14:47 -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=/TUTFAa/rPvMLM4HDupr3gf7wkOPNjMYRSiGAyTNLWc=; b=iZeq7WAXQnBiXrebK/zEzl5emIVfa9yfs/etf4IT+0MxdexO30/kUytMhsR1d5U6e4 HshoF7+0IIIeIEWTODINHuYaGXYj4iYs6pW49R+uu8+8m7CD5ITY62lEeooEct+RcEci S5gCpjy8fJ1tUTiMrjsqurMHw9ad9Ztl06Vx05QeMKVrOUXRGIXiK558zSea5RyoqB8I j3NoL9cAIH3EKblAvon9jSqeUAk70u4/RdLhOIz89dI8XRRRTlT0mFV41hSkgTH1HGOM YjHhXGB0NkIvLp3MrH2w6q746sNi4JjICzmbslbK3+ZhifD2V/t24eilSWVtdBMePVEW OgLg== 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=/TUTFAa/rPvMLM4HDupr3gf7wkOPNjMYRSiGAyTNLWc=; b=ADJspkbt38vwuccWTu8L606wJmpdNJP1ttP3EYD5qB1rBidpmodld4R8y2nY3jVMZx 2n6ZfGqqOvM1ClSfmjTWpqEJwnjw8OZ5JGSeVqcjz9GfmJ1OvE3AvjyhHZAonORPQO10 gssPRuLb7gHHVfwe31/uZzqx8DT+n2c+edm2kkofoPq8MopW4n4XltoSmMHfty/lL2M4 RLT+XmOsgbU+RLrVrlUdaKXjmb+i7lh7YBUt1GicQjF3Gijlm/sTje2P+GhoAxEo9DFr Muhh9kbVY1klmbmsG5RrB62oyoVfrMSZfTiv/M+s7/VaWb9lM0I95dJtovQiL3BdGEeP t24A== X-Gm-Message-State: AElRT7FBbcGUrRBrgm9RgbuLjFG2UrPfZyg0JMi3TE3KEEMnJLaJxXbt 6xhUnBjO+SKN5kjc3xFke5g= X-Received: by 2002:a17:902:9a05:: with SMTP id v5-v6mr6735192plp.313.1522314887045; Thu, 29 Mar 2018 02:14:47 -0700 (PDT) Received: from shreeya-VirtualBox ([103.212.140.137]) by smtp.gmail.com with ESMTPSA id y18sm11255032pfm.66.2018.03.29.02.14.46 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Mar 2018 02:14:46 -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 3/6] Staging: iio: adis16209: Add a blank line after return statements Date: Thu, 29 Mar 2018 14:44:42 +0530 Message-Id: <517fdc2cff0ef238e74c2114fba1a73d2a40a999.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 Add a blank line after return statements to improve the code readability. Signed-off-by: Shreeya Patel --- Changes in v6 -Introduce this new patch in the series. drivers/staging/iio/accel/adis16209.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/iio/accel/adis16209.c b/drivers/staging/iio/accel/adis16209.c index 8f4fa6b..ee7e87b 100644 --- a/drivers/staging/iio/accel/adis16209.c +++ b/drivers/staging/iio/accel/adis16209.c @@ -277,6 +277,7 @@ static int adis16209_probe(struct spi_device *spi) indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st)); if (!indio_dev) return -ENOMEM; + st = iio_priv(indio_dev); spi_set_drvdata(spi, indio_dev); @@ -290,6 +291,7 @@ static int adis16209_probe(struct spi_device *spi) ret = adis_init(st, indio_dev, spi, &adis16209_data); if (ret) return ret; + ret = adis_setup_buffer_and_trigger(st, indio_dev, NULL); if (ret) return ret; -- 2.7.4