From patchwork Tue Feb 27 13:47:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Siqueira X-Patchwork-Id: 10245287 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 2148C60208 for ; Tue, 27 Feb 2018 13:47:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12AB6287BE for ; Tue, 27 Feb 2018 13:47:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 071C628901; Tue, 27 Feb 2018 13:47:24 +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 2087228902 for ; Tue, 27 Feb 2018 13:47:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753307AbeB0NrM (ORCPT ); Tue, 27 Feb 2018 08:47:12 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:44487 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753171AbeB0NrL (ORCPT ); Tue, 27 Feb 2018 08:47:11 -0500 Received: by mail-qt0-f193.google.com with SMTP id g60so23137251qtd.11; Tue, 27 Feb 2018 05:47:10 -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:references:mime-version :content-disposition:in-reply-to:user-agent; bh=x3iwCuEXzjW44MGJbOeLhF3hIWObDNp2JH0/0rmfv+E=; b=g3/NSjkwWTMGQXEtFE+bvQj5rNPrX6Cs9mAS/UluphnPJNL7j/ztGjftxtbs8uJoTk tRKDA7nMSdgebcbaQdk3FdIyexJTljZ5i+HvQA82M/bcnMHnQebV6lJCVd1MwDz1AKwa Dow4b8u7VY3NNZp7kyUKR4kWvlD1gjWZcePd+l3tCVe5ir0O/bo63oV9VY1Zoq1wmCtT 9CBy4GpjTdFVwCayvi4RBY4D2uVxxj/l5FznW3TBJbK946id8r4PDcKoPAmkRm9S6qNF lT8r8G2AOK8MGZj/fvkpV+rBbJnK0wSKtmNQbtrVJMdpzjYukAkh5zRXH2aFXdX4KhHE okjg== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=x3iwCuEXzjW44MGJbOeLhF3hIWObDNp2JH0/0rmfv+E=; b=S5JyV6yOYPWNKw0hPCqouSczQHZlafZNmTwDxbxppNTWVFGLRBsYSsWEdxBOLHt6b4 Wg1gcUUfJ/PtgBeFiby4GdBNhzbzY05CL8bnGpvgHscYn9DZIMVHhN0HKTOa5/Pcso7E uRJ1SMdjOQbpVCWUrUJj/IDCi1I0efvKo/zKj7v8ZoL3oEuko70SWeS6IAOj2hL/dtIq 23mGghEQX0AiVlkI5UxYzb89W5Clrr5qT/RDFeQrN9oCoMCPHTeg2ahBgMr6njLnl2wU mCIPOodU9qVpXF3EnpWP6MZJwQvykOxhuFJ8Vk+HuOyCmjWGOdaVc/PSQTb2MABO4VPH VeAQ== X-Gm-Message-State: APf1xPArdX0ccKSq0sXdPhBxpHvwJXr2x12C7wpcw39t+V5YdaNns9sP IepNgNu3IxBnQNrqOE4Iy2Y= X-Google-Smtp-Source: AG47ELvQ0gK95k4zNXpBUxzlFj6zvFtB2JaxsSgll4GX0tzKpOgmd51CtYPf+7fF1YaLavR31LR1Lg== X-Received: by 10.200.52.174 with SMTP id w43mr24166627qtb.244.1519739230312; Tue, 27 Feb 2018 05:47:10 -0800 (PST) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id n189sm491160qkc.56.2018.02.27.05.47.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Feb 2018 05:47:09 -0800 (PST) Date: Tue, 27 Feb 2018 10:47:06 -0300 From: Rodrigo Siqueira To: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler Cc: daniel.baluta@nxp.com, kernel-janitors@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] iio:dummy: Add extra paragraphs on Kconfig Message-ID: <7cfd9fd93e76fede44d328045e7885cd78324a78.1519738995.git.rodrigosiqueiramelo@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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: drivers/iio/dummy/Kconfig:21: WARNING: please write a paragraph that describes the config symbol fully drivers/iio/dummy/Kconfig:27: WARNING: please write a paragraph that describes the config symbol fully This patch expands the explanation about IIO_DUMMY_EVGEN by using the code documentation found in iio/dummy/iio_dummy_evgen.c. In the same way, the information related to IIO_SIMPLE_DUMMY_BUFFER was extracted from file iio_simple_dummy_buffer.c. Signed-off-by: Rodrigo Siqueira --- drivers/iio/dummy/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/iio/dummy/Kconfig b/drivers/iio/dummy/Kconfig index 85e13b2e35bf..c4fd108e91d3 100644 --- a/drivers/iio/dummy/Kconfig +++ b/drivers/iio/dummy/Kconfig @@ -24,6 +24,10 @@ config IIO_SIMPLE_DUMMY_EVENTS help Add some dummy events to the simple dummy driver. + The purpose of this is to generate 'fake' event interrupts thus + allowing that driver's code to be as close as possible to that + a normal driver talking to hardware. + config IIO_SIMPLE_DUMMY_BUFFER bool "Buffered capture support" select IIO_BUFFER @@ -32,6 +36,9 @@ config IIO_SIMPLE_DUMMY_BUFFER help Add buffered data capture to the simple dummy driver. + Buffer handling elements of industrial I/O reference driver. + Uses the kfifo buffer. + endif # IIO_SIMPLE_DUMMY endmenu