Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3784216pxk; Tue, 29 Sep 2020 06:17:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyBkkao/eCXRnlLtQWW0a2vQIqBNDxdqHEq0M8lgDoeB8JNUdci3rvRLtlk/snxncf5B2z X-Received: by 2002:a50:84a2:: with SMTP id 31mr3295347edq.138.1601385430921; Tue, 29 Sep 2020 06:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601385430; cv=none; d=google.com; s=arc-20160816; b=CDjZVxuWaF4zFEiVtzUSN0JOYKDv0/RDr1SqkAVZmOcoGYSi+NwKlF43syJtgFMhk/ 7XHpGpNt8tWa+ywHQtwVro/g8P7phbFy5W/AFZPNeIaWD5/KRmSBObe2plMx3O9b9bvY 9CSAD4KljzZQ8Du5ZENMBENEoRQQg3jhz9jAuFLSbiWVYE55D6I20fFAAeF9pnqM7Xet zCY3JeveD9gPugBsOj3M9rW8rHLCb4SBMUjhcZLuzcBF9g98ofeI4n2+TsKcjJlH2B3j QBoaYH8dDIfEqkDaGhnVwBOVow1/ulwviB2YV+0ia8HcXE1MeBAcZSDZ/0TC16Wswalr Ny6w== 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=ai7J6614AweQBulbmE6BcZNing6vKFcRHNP1F9jGIN0BOBQhvzMkNyFwOycUnY8z8N TGzlHFgQYjloQhP9pLIak7PVjZ3zVW+3srSuRX7zh4xXrBiSBA09cevmDlmvlQhP6gsF YZXY3GQ+bGIuKey61ewEmZPBl6ovy6ibO2GK5ZdkIEw4uFQ1TGUWZEj1lErRurIe65M9 zyTsssV8UdEPzT9fd9PyUDshCQiaA17kl2mEylkoGxKxngsB6S0JFIUVBRnURLbHhgLb 36mpSzwZxLjkUnId1ajawLV37UUhFsmiamTC3skE/ClwDnQHTPTMj4pxcJGwpQMXTAZl MVaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xanrmt6F; 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 n11si2698387ejh.372.2020.09.29.06.16.47; Tue, 29 Sep 2020 06:17:10 -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=xanrmt6F; 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 S1728609AbgI2NPp (ORCPT + 99 others); Tue, 29 Sep 2020 09:15:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725554AbgI2NPp (ORCPT ); Tue, 29 Sep 2020 09:15:45 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36C67C061755 for ; Tue, 29 Sep 2020 06:15:45 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id z19so5479491lfr.4 for ; Tue, 29 Sep 2020 06:15:45 -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=xanrmt6FepPfgRB+SlJFm0QTo5+Zafpq23T63O5KZWRcpGym+JCTAzcx38vCZF0ySk SejiW125FwRP0oYhFQA3yBD6tU2djb0B1a5YVOAND8BwjLeexV1Iqiz2c+5QI+liURMh XeNcfKxfltVpsKHgm1tFPkX/VDfPxvXayhIIdZoy6rAyJCW+tSd/fdZNHC1Z9Tmx1i2j u33se6ZIN3Fm0yIQ9bgC69R9mgt5bjjXs1DbN8gyAuYYjtaV/cH1jbH/IVYwmwxGyVrX 5COfS19yLpm44drV3QyHGrBpyTEwugOaXdHhehO84hnErzSPOY3OCDnL9CP2zdwI0ORg G8GQ== 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=YxLbOsWu6VAVJDT6kamS54Atq0sJHVOBhRfZAMjFSAsskl+2p/Ak0VDm5BMnp8P3z7 Dje4RVk6bi5TRPNloweInSlJj9W9cXX2u9opwXwH4EA0ez+829BQ1P7xjGtGiRwmgk9Y 6E3YDQpiv38t0r07gSMjnVoxiGzLjInv3JDe9y4sLpFnAkOr1v2eiDeQe0rZm0UPgKOt qL7LepI9kFbQYYtOoiosj1LGmNi9N9leu4feB94P3OLxx8nY7ZW/FooLod746IVOte7c t1lcxTX4qlGUy+wMWjw78z0D2ZeEV20P2YiB0409gYdM6HCg7FZtQM8AuHnHpxZUxolx ZgCg== X-Gm-Message-State: AOAM532VlmK6hTkEBiDlRxBFf4H68hIblZqD8CleWabhvSKIMlK+pqwC ymLjXDqcyyA4tdt0zv6v+p4FzBffbZVix/as1kYouA== X-Received: by 2002:a19:1c8:: with SMTP id 191mr1121422lfb.585.1601385342194; Tue, 29 Sep 2020 06:15:42 -0700 (PDT) MIME-Version: 1.0 References: <20200919021831.191077-1-miaoqinglang@huawei.com> In-Reply-To: <20200919021831.191077-1-miaoqinglang@huawei.com> From: Linus Walleij Date: Tue, 29 Sep 2020 15:15:31 +0200 Message-ID: Subject: Re: [PATCH -next v2] mfd: ab3100-core: 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