Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3903848iog; Tue, 21 Jun 2022 08:10:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1txGFytxhD926oDnOs6kUWMdskFP2b7wnTaQQ9nb73cx6G+oPBq8f8ct5sctX/J60zNqg+V X-Received: by 2002:a17:907:6d9b:b0:711:d26b:f5ba with SMTP id sb27-20020a1709076d9b00b00711d26bf5bamr25948656ejc.135.1655824256253; Tue, 21 Jun 2022 08:10:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655824256; cv=none; d=google.com; s=arc-20160816; b=e+fXgMHFmRzKHPxJ9CazMKltmetr27Fq3qI8+xzGlYLem4WPi82HcZlowqIrdLGGMJ dD2df4pY2rBfYw+5wn97h2v9bX2Nn8Bq1BnyvuQ5rZAeBwoRRNhDlexZuxneejIdw5FG FJTYUyiBEiUNOVIAKUQhgfdpmVIHD+Vh8mR6L27t7YhBUL0qeaRbzsvDC4/YTTlMiBAu FPhrB+nkY99Ui8gH/RkAVU/VXQiNsGCVdopgpg4xuGyNldYwjkbYC22F8d23wI3qRWTk oRDDujUJ6QGFGaEREG3OesjxMY7PcwDrkZEBM24ub7KtzhDBX5b9lFxMZ7+EVmjsigrt v3xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mQG2kFC6sca6rA/f7INQsblCLnW/IWpeSGsMk6bXM4s=; b=sE9bCLQxfrR8b+bUKyxxCKsenMD5lsEMA3w7Wdhhix2iMvLWL9Csdzp8X6gWt0sJ3m xpw9tTguR/UaELDzPQaIygWDGD1lOkstHZDghAvSINahi/4+qidKFhYJA8MOe4g4mvDJ T+GpP7HgSyXzwm4t1PMz/jYKJnnkPBUIpgfAuT4+aZuXkB4yLKWiBH6kno0XlHIaE8P2 i9jmIuCa5rRMwMBbZwKK7Z7MGdxwt1u4KMYnf+37I6ALRdfnwVlrPZ00ID1Ea5ukGyPO nTUG5axHbcf2cM4ATq+LA4JRk9cp5Q01U0+TedxBK7ZsbVs9fcns2BYcdeutHy0bqAX1 aDjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ev6nwGN3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he17-20020a1709073d9100b00712251823b5si18755488ejc.727.2022.06.21.08.10.29; Tue, 21 Jun 2022 08:10:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ev6nwGN3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1350635AbiFUOIy (ORCPT + 99 others); Tue, 21 Jun 2022 10:08:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350568AbiFUOIx (ORCPT ); Tue, 21 Jun 2022 10:08:53 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60C75201BB; Tue, 21 Jun 2022 07:08:52 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id lw20so5439777ejb.4; Tue, 21 Jun 2022 07:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mQG2kFC6sca6rA/f7INQsblCLnW/IWpeSGsMk6bXM4s=; b=Ev6nwGN3/gWEcJlfXWIkrbioZNZnAetkcmIeqMDZQxkokhC1RCYup9RU287cRXstmg YAM0m4ePeG0Uu4Vy1+SZ3OLpNDL3v8aTFJo/AnAg4uQMnAx3yX0tme3A3R1RsQGMqBGY uk+AVb12OM6ge7TFsKuELxTBkRXvuLjwDKo70iIJbLmZT9mNQwrV93lVgygdzgrKOI87 T0X2jr8OzFhxhmbhiyNi8N/+/xgtpv5tV52jF74A+weZNBBOqBGOcWcad/q2RttgnpbW SbQvAZEijJAjjjtdwRhkzf2EuUH69ywAQoTz0AhZYw+RYGxfmGPDROh7Y4vojnK0c2VD PsNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mQG2kFC6sca6rA/f7INQsblCLnW/IWpeSGsMk6bXM4s=; b=Bej7NUpQrm2gTWlrAKl4U2UQ+azGmbyP9ksZpt7BZ32GugQGg0xcozz2toFrxA+yi2 yBv98n/Nlj8hioqB7Cj8Ae8t+yeYq9Q7D5ORLEr+0CG5CEQAZSMxAPRm1crJ+JbB51Z7 zSMnhw33OB+vaLC3LOx+a8fRDQ3JCDwFxfjIKX6kcT49CTw1POmtunQtZ2V3nclSOyui 3m5j0Kg1Qs9W5kVvnPCpecKMEgXc/NMPxAcw4M1AGYAYSN8ufmPRFaHWgQq/22baZ2CF zJrhIgV+P27+flsde9ppPB4nsUVLA69GIloV8dUZWbP+ZeFv+0VKB2dRpwEmBx4xj16j cYEQ== X-Gm-Message-State: AJIora+RBdCdky+MlwNZrXHtHbAXRQ1MKlZqCRACuGpwMBXDpCV0v9h4 4Y4rJPOUFsfsjFd44AlviD3bcW41MRFAym2vDTs= X-Received: by 2002:a17:906:434f:b0:711:eb76:c320 with SMTP id z15-20020a170906434f00b00711eb76c320mr25938171ejm.636.1655820530793; Tue, 21 Jun 2022 07:08:50 -0700 (PDT) MIME-Version: 1.0 References: <20220621092319.69598-1-jiangjian@cdjrlc.com> In-Reply-To: <20220621092319.69598-1-jiangjian@cdjrlc.com> From: Andy Shevchenko Date: Tue, 21 Jun 2022 16:08:14 +0200 Message-ID: Subject: Re: [PATCH] iio: dac: ad5380: aligned '*' each line and drop unneeded blank line To: Jiang Jian Cc: Jonathan Cameron , Lars-Peter Clausen , Michael Hennerich , linux-iio , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 21, 2022 at 11:26 AM Jiang Jian wrote: > > Consider '*' alignment in the comments of struct ad5380_chip_info declaration. Next time don't forget to bump the version of the patch (use -vX, X = 0,1, ..., with the `git format-patch`) and add a changelog (after cutter '---' line). > ... > > * @channel_template: channel specification template > > * @num_channels: number of channels > > * @int_vref: internal vref in uV > > -*/ > > + */ > > > While at it, drop the unneeded blank line here. > > struct ad5380_chip_info { > ... > } This should be replaced by something simpler, like: While at it, drop the unneeded blank lines. Reviewed-by: Andy Shevchenko I do not think you need to resend this simplest patch and Jonathan will help you this time, but consider the above for future contributions, thanks! > Signed-off-by: Jiang Jian > --- > drivers/iio/dac/ad5380.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/iio/dac/ad5380.c b/drivers/iio/dac/ad5380.c > index a44c83242fb1..81775152aac6 100644 > --- a/drivers/iio/dac/ad5380.c > +++ b/drivers/iio/dac/ad5380.c > @@ -36,8 +36,7 @@ > * @channel_template: channel specification template > * @num_channels: number of channels > * @int_vref: internal vref in uV > -*/ > - > + */ > struct ad5380_chip_info { > struct iio_chan_spec channel_template; > unsigned int num_channels; > @@ -53,7 +52,6 @@ struct ad5380_chip_info { > * @pwr_down: whether the chip is currently in power down mode > * @lock: lock to protect the data buffer during regmap ops > */ > - > struct ad5380_state { > struct regmap *regmap; > const struct ad5380_chip_info *chip_info; > -- > 2.17.1 > -- With Best Regards, Andy Shevchenko