Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2164812pxb; Sun, 17 Oct 2021 07:29:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyas2usPdcP/GbXVvm4QHq+pG5OFSXUZWDMgZZLAQaipncKgq45Pmpta8iYg4Bula/fz2sZ X-Received: by 2002:a17:906:5801:: with SMTP id m1mr22271186ejq.296.1634480969315; Sun, 17 Oct 2021 07:29:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634480969; cv=none; d=google.com; s=arc-20160816; b=iw8CwSV4SfVJqG4aq0C0pRht70eaHSGNM3N3/CMSZIKj+HUu2iM0YHxWrY4V38EuV0 oysB/sWadvn+kr/IAXFF7sIoqXObc5RrjN8TE6EGgHAiNBjciDbzRkexfYGC735Wc5LL vHRsELw+kUUC4T+Aqda9EjtAXeXBgmoBiCk/rKEmR3FOxFeJGpFfx2Tt9sFFNxpI91so 1hNZS1N8d0x5aXWn42IHzg/PoTg9+MkSfYUqgi+RXWD+weHSOJlhpwHRPxUbDi9dkVbd rSBcOT0F/98MH7DFNYCcZGepUIdisCMGnh4m9nLcb/KUxAEjjK89Y+64ZcyCuXKzGVzY dM1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=JLDWfVeJgIFt+ZlrEIV3sP1SXSyud1UXUSt8JDLXTXY=; b=Nn5hjXTC/6oxIOHRjYoEkQhSPXHZjwKFWsp1oAHU46Sxbxz1EfWNuHtvOWXUdcWQL4 Oa+XYg7M0+1qkZpYO1lA/497Qw6hwTn0ZtCoRnzPaQUW4cNA948EQU0pJksarQ83EVjh iUFxYljEBEKqSTFRnkT0ECyIwwHlVTZcw6zhHsqnjRgqJfOipm7SenT5+mjmXP4kLRsF fNCDjzTNFGdusxqtYScRTYmpcACvEeoIz+Y39TUZ+nj0eAEnRN6+MrPNWqJEAyBHs5an gXlN3aakUuoYHJJUNzW1NQHCx5o93RtW5d3UgkCSYaZkvlM9cHzENksLJxnGN+DxeW6s vfVw== 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 a19si17544933edb.104.2021.10.17.07.29.05; Sun, 17 Oct 2021 07:29:29 -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 S235119AbhJORbj (ORCPT + 99 others); Fri, 15 Oct 2021 13:31:39 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:33099 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234715AbhJORbi (ORCPT ); Fri, 15 Oct 2021 13:31:38 -0400 Received: (Authenticated sender: alexandre.belloni@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id BE204100009; Fri, 15 Oct 2021 17:29:28 +0000 (UTC) Date: Fri, 15 Oct 2021 19:29:28 +0200 From: Alexandre Belloni To: Luca Ceresoli Cc: linux-kernel@vger.kernel.org, Lee Jones , Rob Herring , Alessandro Zummo , 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: Re: [PATCH 2/8] rtc: max77686: convert comments to kernel-doc format Message-ID: References: <20211011155615.257529-1-luca@lucaceresoli.net> <20211011155615.257529-3-luca@lucaceresoli.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211011155615.257529-3-luca@lucaceresoli.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/10/2021 17:56:09+0200, Luca Ceresoli wrote: > Convert the comments documenting this struct to kernel-doc format for > standardization and readability. > > Signed-off-by: Luca Ceresoli Acked-by: Alexandre Belloni > --- > 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 > -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com