Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1588494pxb; Mon, 11 Oct 2021 09:01:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBaTpMYd42uhAIMhK54swOzGuNJM3eTRScq7eB1zzw6+pB2O3aX6sM2FoTyn1VDyi+uPFh X-Received: by 2002:a17:906:3c09:: with SMTP id h9mr27168407ejg.565.1633968100151; Mon, 11 Oct 2021 09:01:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633968100; cv=none; d=google.com; s=arc-20160816; b=AZ0C3q7x6nYBBbwRpAeWIcefCxBQKC96QFfX07IWfew4X2jKF1UDnh4jdLtM5SmAIN g87KfDIJbJTN1LC+luM6spwE4e8arcV7aI/Mr0rGPUD9cMg8khgEibxqZWpXTkX0IuDH Tgt7kZS0gxkQ4EWm4b5ARjytmzB7FKOSlX09PObauP1/GnwEKpMMIlpwDGAXq/dB77Dm fKJSouYQTQIp5VeTq3QfRJQRzirWvwZ5zHHnGY85pmkV+FBf1OI2Te1oVJYwzECjhGUs 5bV9+hE2yFjlBhGJgEYWpBv6WjC8Etd5sl0dMmTsRe+KYbCMmUMtZkRfj/NpbhPtanNV fkhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=xcdAdkqWXdvYUzSffwCbcvEyNjSIUFB5ETLwNEn8uhc=; b=WGUCGqficSceK8RPfJsfWF0ywJT3XBxIMq44gnlqvNyq6zBhovPg9nqSh2JnrMeYDn l7QI4vMMs0c1l9xr1Ei6gjzsW/wxNsUD33j++YVG0aSizZMB4QarsAk/RoGRTzLGkm5r cDGxLRUz2PQSj7f4BvJH9ErREAzfABKP9Ma/PTc+saKeVF3JTLnd9sPkQDf8JGjqvBNo +P3Wk4Zqgm41+dd31Nz8lr1J3x2ZFU46y0FagfajG+ew8RxE69q2f3DA5GZjw1qbf156 /1nFrOEM6raDQqwFzBsN86E2SYdfYvPTJBpCPmuGNR7GPVmsAHkJtobbqNf+8G1T9bTN AFbw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lr15si12155754ejb.721.2021.10.11.09.01.05; Mon, 11 Oct 2021 09:01:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236726AbhJKP6v (ORCPT + 99 others); Mon, 11 Oct 2021 11:58:51 -0400 Received: from hostingweb31-40.netsons.net ([89.40.174.40]:40200 "EHLO hostingweb31-40.netsons.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235996AbhJKP6q (ORCPT ); Mon, 11 Oct 2021 11:58:46 -0400 Received: from [77.244.183.192] (port=63592 helo=melee.dev.aim) by hostingweb31.netsons.net with esmtpa (Exim 4.94.2) (envelope-from ) id 1mZxfN-00DXft-SF; Mon, 11 Oct 2021 17:56:41 +0200 From: Luca Ceresoli To: linux-kernel@vger.kernel.org Cc: Luca Ceresoli , Lee Jones , Rob Herring , Alessandro Zummo , Alexandre Belloni , Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Wim Van Sebroeck , Guenter Roeck , devicetree@vger.kernel.org, linux-rtc@vger.kernel.org, linux-watchdog@vger.kernel.org, Chiwoong Byun , Laxman Dewangan Subject: [PATCH 2/8] rtc: max77686: convert comments to kernel-doc format Date: Mon, 11 Oct 2021 17:56:09 +0200 Message-Id: <20211011155615.257529-3-luca@lucaceresoli.net> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211011155615.257529-1-luca@lucaceresoli.net> References: <20211011155615.257529-1-luca@lucaceresoli.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hostingweb31.netsons.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lucaceresoli.net X-Get-Message-Sender-Via: hostingweb31.netsons.net: authenticated_id: luca+lucaceresoli.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: hostingweb31.netsons.net: luca@lucaceresoli.net X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the comments documenting this struct to kernel-doc format for standardization and readability. Signed-off-by: Luca Ceresoli --- drivers/rtc/rtc-max77686.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c index eae7cb9faf1e..bac52cdea97d 100644 --- a/drivers/rtc/rtc-max77686.c +++ b/drivers/rtc/rtc-max77686.c @@ -61,24 +61,27 @@ enum { RTC_NR_TIME }; +/** + * struct max77686_rtc_driver_data - model-specific configuration + * @delay: Minimum usecs needed for a RTC update + * @mask: Mask used to read RTC registers value + * @map: Registers offset to I2C addresses map + * @alarm_enable_reg: Has a separate alarm enable register? + * @rtc_i2c_addr: I2C address for RTC block + * @rtc_irq_from_platform: RTC interrupt via platform resource + * @alarm_pending_status_reg: Pending alarm status register + * @rtc_irq_chip: RTC IRQ CHIP for regmap + * @regmap_config: regmap configuration for the chip + */ struct max77686_rtc_driver_data { - /* Minimum usecs needed for a RTC update */ unsigned long delay; - /* Mask used to read RTC registers value */ u8 mask; - /* Registers offset to I2C addresses map */ const unsigned int *map; - /* Has a separate alarm enable register? */ bool alarm_enable_reg; - /* I2C address for RTC block */ int rtc_i2c_addr; - /* RTC interrupt via platform resource */ bool rtc_irq_from_platform; - /* Pending alarm status register */ int alarm_pending_status_reg; - /* RTC IRQ CHIP for regmap */ const struct regmap_irq_chip *rtc_irq_chip; - /* regmap configuration for the chip */ const struct regmap_config *regmap_config; }; -- 2.25.1