Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3783867pxk; Tue, 29 Sep 2020 06:16:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzTJ6/fKYyGWpCfeCuuLi4Q4iLlDwTZxEKQuld4UrMvZJgw4an0pGAcEYLVQrJ+1AhV8HD X-Received: by 2002:a17:906:86cd:: with SMTP id j13mr3757460ejy.5.1601385402447; Tue, 29 Sep 2020 06:16:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601385402; cv=none; d=google.com; s=arc-20160816; b=JeULnti4S+odgK2IRACDtGgt1nUHVjy6Uf+fVi0MGYtHqehqiJShIiwRzpx5Yi4Cry tCdjPhqjSvs7lPqeVrVyXLqF6aByOzttc1QPArHL+WMrgP2QcVkts3CCEcFW5mBDSsny DR2bw1/FwipVSzeOJoSByj/5gdh4QlW0PbY5lxPKzNBJuzVa7Lr3SmHKwKQvMceFBkkr Rh/ZkQA3EsxOfE9P4mdjV7rOKm28DoVTXYujTtub+XsfNBLEeMgBP7DJatkOO/7ZfwO+ 5co9e/PUfBAyrSTRVMiMILV8eKo47UN7U2cWWOdKkKwzfr03+OWEyZjtIUYylve4O/O5 UNZg== 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=6aot3ORIQWKklkoQf+YaVDp4V9gsCzqvPIkopUs4mX0=; b=z1a4lRM1WIDs26i1BaNnpRwBkE0OzPZNthnLUTDv8rLRHMmSNal9c2LG9eN5rcdlUz CXpw4b6VYOpIkMupS2zLNTLV9+QJmvP9SHQHESx95SUMEfRowmylYM84oyaRz2Qa+XS3 bkUm9KuYYtI9cipf+OpUcaWdQE5AqvrBftRDWiro9andTOtLlkBGUnn29k7g7FpI+y7a FgRo3AVCXolYA/yKnIvIat5zZyKBKxzKexkRvDYcX1ZdGp2aykG9S1j1dwbaaAUGFmaZ LztsGbAGm6kkXUCCnueA8gTSPu4mT7wAB7JL4v2xeaJ4jjvQeregxFr/F1Egckb9M0Ge QQUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dUmsJ0i7; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si2677482ejz.567.2020.09.29.06.16.19; Tue, 29 Sep 2020 06:16:42 -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=@linaro.org header.s=google header.b=dUmsJ0i7; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729721AbgI2NPT (ORCPT + 99 others); Tue, 29 Sep 2020 09:15:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728441AbgI2NPT (ORCPT ); Tue, 29 Sep 2020 09:15:19 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B44BEC061755 for ; Tue, 29 Sep 2020 06:15:17 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id 77so5488667lfj.0 for ; Tue, 29 Sep 2020 06:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6aot3ORIQWKklkoQf+YaVDp4V9gsCzqvPIkopUs4mX0=; b=dUmsJ0i7XR3z9EytyoaRkBCnYTTZbQbn8UUL/mjbFCipsoKs5VLk8XwRwEJqDieOFZ 2br9h21lt13EzHT2uov8YVPfwLuuuxx7gqpJm0YW87YyL/ui7yt0/4D7ptgB/CsR9yMF shPgFfZJVWeaj5Y/Z/m9XKA2VPb5dCHIvsEOrCgD3WFxToHDdARq0StzAawOARdWrLig rmLdvFUxwblNPZBkHvB/IbW2noxBL5RAeCZohzJDv46bWLM0lXYoWYNfhzyRYbjnTKaN thkQ3rIYCeX9ruobWXasBbv9BBU58Irx5ShuFF778rFrCVATtMHHcZSKFh2lkNCuQaGT wfVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6aot3ORIQWKklkoQf+YaVDp4V9gsCzqvPIkopUs4mX0=; b=QENQwlcKn5M9FJBXJ63fqBM68tdrfQg4u6AonYS91V+aZoge7Dg+AtBKHgJOeZVQBY ff1desGtdQNkGEoJxGHfAqUes1eUukGtsFhBlj5aF4axjEu62yQy96vfG0TxmZbpUW69 l5ilBdTjnSvqeGf2AZ6lc2ZTXPjO8NlpU67kvYjL2Ts88gUz3RXy3MGdhJ7hECz8UuHO vS9a6R7iYkEde7rur1ipra4HCDq6bNpBB/FrCYKZI/3njNx3Ee3LuVW7Zwaq2X2r7cYl xg0qq6VPcsLUunQS9pVnqWJi/+S1lmzwlKEyaQ38w6U5zmu+AZO07t2mWHCYpkUFalyi +dOQ== X-Gm-Message-State: AOAM530bu1gm1x6YyJVQE+iuPlRG34ycLfOluoS9V3JN0T7vyCHCalPp PWWFP/TdPAmTRDBWG/3uCWKMyMH8qropfPNXKH8iYg== X-Received: by 2002:a05:6512:370b:: with SMTP id z11mr1115395lfr.571.1601385316111; Tue, 29 Sep 2020 06:15:16 -0700 (PDT) MIME-Version: 1.0 References: <20200919021832.191137-1-miaoqinglang@huawei.com> In-Reply-To: <20200919021832.191137-1-miaoqinglang@huawei.com> From: Linus Walleij Date: Tue, 29 Sep 2020 15:15:04 +0200 Message-ID: Subject: Re: [PATCH -next v2] mfd: ab3100-otp: Convert to DEFINE_SHOW_ATTRIBUTE To: Qinglang Miao Cc: Lee Jones , Linux ARM , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 19, 2020 at 4:18 AM Qinglang Miao wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Qinglang Miao Reviewed-by: Linus Walleij Yours, Linus Walleij