Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1755618pxb; Fri, 27 Aug 2021 17:09:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwZsm++nS43/AnW+F3cbkc9L7vwxMiE5eaWNpegLgntgB+wjIlHBi9CPkcC8ZA/vfrpP+G X-Received: by 2002:a05:6638:38d:: with SMTP id y13mr3114181jap.139.1630109390966; Fri, 27 Aug 2021 17:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630109390; cv=none; d=google.com; s=arc-20160816; b=gSCtwRrxrZJbf/lhL5GW76q2IITmY46Bhsbi1w077ajCEzWb7Nt/2oC/SQ9z0tCjub TL2DHr0WO6jHvuOIv91ugnlAFEqRAglNFZVTPl+yVkcxvku3jzLU49wnp3wwde/an+Tm dsZNwm6B58TGr5mDMJ45cb/2Sdjhk2Vd7lGBN8rkMth1MYy/chUZn2a1pa23Mt+Xwe/R CVxPlGcY3qQTwlPoVK6LNE7sfMA1Mp84oB43Jw6JKQaOavf1tlGE2spemFt5n2ndukFr 67JMSgKOnkXpNfEOau+WJVl4FbcRt8/FRhDLZpB4Dx2PdaWIQcaZhSPmCNaQ7dASiouk t5EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=V1Phuwg9S10P3UrzzO2JJiE8SFms1OaLW24U0NiZUw0=; b=Qt509epTEptCg5e/XyO0jftrDNwMgzMMiPm6Hz6OLibGwaRf5uH5uXe0ldXSW8TpFn K60yQyp3zK5bNQp3LAjVOFnrd8QoQDLKO+HY8KFTDL5A/WWO/5Nnbe5u5Hyg000D6zap d/EuH1xlZ4Hx+ulTRzgiGI3YkeYgA3jmVqmM55DFvizIBEwWDB5BZO3EPYsRfLBBS3ui yayJeA14pJqsZ3c18iMiaIYCBoO3VUyPMBsj3hdUme+RQWd4bdQRpc0u+5i7AYq92dy5 DiKcnn3gjq5UUsh7Tqy0QoffzRo0e0QdT/1To7vdcuahAZ8LGzVgnLFc5CHhJSuoHB6x 0D7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bmt9FXUT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id n3si7651045ilt.132.2021.08.27.17.09.39; Fri, 27 Aug 2021 17:09:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bmt9FXUT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232746AbhH1AJh (ORCPT + 99 others); Fri, 27 Aug 2021 20:09:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232720AbhH1AJg (ORCPT ); Fri, 27 Aug 2021 20:09:36 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00A55C0613D9 for ; Fri, 27 Aug 2021 17:08:47 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id z24-20020a17090acb1800b0018e87a24300so5982041pjt.0 for ; Fri, 27 Aug 2021 17:08:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=V1Phuwg9S10P3UrzzO2JJiE8SFms1OaLW24U0NiZUw0=; b=bmt9FXUTZo3GZkAW150BsedhnBTrgDULwpKB1Ck67Nbv/cKpyasz68SYaJSq2jY3f6 dlO3swB5SNRbC3gwcd+sfM7pvSHTdLSwzu/vJHSlJ2jfRxy577fRxe28HRHOnnUXfVxK siX8kBXx9Y5rYqVMrx2jl+J5n3Xe2Hl9gnfPkpIIfPsyY4hANCueRNOoB0HiF6LYq6QP CT4h0DMCiMsuZMu+seNgn5rQ43M3Ic+aITRrvZsw6ZPVxI7lqOHJkbeOMnpNMb6tNXVY FCN6W9LgKmA4JwW/E6fFmKevhhrfjufB7lkQ0L0WHODkWmZ1Me7USZRFEhapoSn94UHR /HBA== 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:subject:message-id:mime-version :content-disposition; bh=V1Phuwg9S10P3UrzzO2JJiE8SFms1OaLW24U0NiZUw0=; b=JHAI/WGh7lu67A4h1wsSIrRZXleovxZaGVz45EKfk1WwiErRuXa3cX4FWmC/JBHTdG JjxocjPuD/eQnyNB0wVlp5hUcEoQriFKRYdhcAW3nTenM1QlM31VnT56p3YkcfiA//R2 fMvcAdt2fmFLJZPvKVv5/EhsV5w3I0l56KanxqoL3K1t4FkrpDj3QcvTxMahdoCU4Nsh PjpCUaSuDc8Ime6kdQgt64/d87fgEyOmjRNGtZIk+K1OFqBru4aJpl3SIcVc0itCrEvt SrAvLyeETyMfed56ikNAK3XQEcPpEE9KARANNlyfO/acDvuxKDd3ts6TasEzu/1qv8K4 ZMXQ== X-Gm-Message-State: AOAM533FUSt85t9qhRFTsDe4iM+yftb0f5cILv9PtaUrdr2ndSiuBlvr GxNRV0Wz8/Y0a356ytrBJgs= X-Received: by 2002:a17:902:7611:b029:12b:e55e:6ee8 with SMTP id k17-20020a1709027611b029012be55e6ee8mr11167180pll.4.1630109326490; Fri, 27 Aug 2021 17:08:46 -0700 (PDT) Received: from localhost.localdomain (125-237-24-95-adsl.sparkbb.co.nz. [125.237.24.95]) by smtp.gmail.com with ESMTPSA id u2sm132807pjv.10.2021.08.27.17.08.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Aug 2021 17:08:46 -0700 (PDT) Date: Sat, 28 Aug 2021 12:08:36 +1200 From: Paulo Miguel Almeida To: gregkh@linuxfoundation.org, hello@bryanbrattlof.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] staging: pi433: fix docs typos and references to previous struct names Message-ID: <20210828000836.GA10188@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the comments there where some grammar mistakes and references to struct names that have gotten renamed over time but not reflected in the comments. Signed-off-by: Paulo Miguel Almeida --- drivers/staging/pi433/pi433_if.h | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/drivers/staging/pi433/pi433_if.h b/drivers/staging/pi433/pi433_if.h index d5c1521192c1..1fae62c40661 100644 --- a/drivers/staging/pi433/pi433_if.h +++ b/drivers/staging/pi433/pi433_if.h @@ -5,16 +5,15 @@ * userspace interface for pi433 radio module * * Pi433 is a 433MHz radio module for the Raspberry Pi. - * It is based on the HopeRf Module RFM69CW. Therefore inside of this - * driver, you'll find an abstraction of the rf69 chip. + * It is based on the HopeRf Module RFM69CW. Therefore, inside of this + * driver you'll find an abstraction of the rf69 chip. * - * If needed, this driver could be extended, to also support other - * devices, basing on HopeRfs rf69. + * If needed this driver could also be extended to support other + * devices based on HopeRf rf69 as well as HopeRf modules with a similar + * interface such as RFM69HCW, RFM12, RFM95 and so on. * - * The driver can also be extended, to support other modules of - * HopeRf with a similar interace - e. g. RFM69HCW, RFM12, RFM95, ... * Copyright (C) 2016 Wolf-Entwicklungen - * Marcus Wolf + * Marcus Wolf */ #ifndef PI433_H @@ -33,8 +32,8 @@ enum option_on_off { /* IOCTL structs and commands */ /** - * struct pi433_tx_config - * describes the configuration of the radio module for sending + * struct pi433_tx_cfg + * describes the configuration of the radio module for sending data * @frequency: * @bit_rate: * @modulation: @@ -46,7 +45,7 @@ enum option_on_off { * @repetitions: * * ATTENTION: - * If the contents of 'pi433_tx_config' ever change + * If the contents of 'pi433_tx_cfg' ever change * incompatibly, then the ioctl number (see define below) must change. * * NOTE: struct layout is the same in 64bit and 32bit userspace. @@ -81,8 +80,8 @@ struct pi433_tx_cfg { }; /** - * struct pi433_rx_config - * describes the configuration of the radio module for sending + * struct pi433_rx_cfg + * describes the configuration of the radio module for receiving data * @frequency: * @bit_rate: * @modulation: @@ -94,7 +93,7 @@ struct pi433_tx_cfg { * @repetitions: * * ATTENTION: - * If the contents of 'pi433_rx_config' ever change + * If the contents of 'pi433_rx_cfg' ever change * incompatibly, then the ioctl number (see define below) must change * * NOTE: struct layout is the same in 64bit and 32bit userspace. -- 2.25.4