From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B619EC48BD1 for ; Fri, 11 Jun 2021 19:00:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 960A4613BC for ; Fri, 11 Jun 2021 19:00:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230330AbhFKTCU (ORCPT ); Fri, 11 Jun 2021 15:02:20 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:32817 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231202AbhFKTCO (ORCPT ); Fri, 11 Jun 2021 15:02:14 -0400 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 48A41100004; Fri, 11 Jun 2021 19:00:14 +0000 (UTC) From: Miquel Raynal To: Zhen Lei , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd , linux-kernel Subject: Re: [PATCH 2/2] mtd: core: use MTD_DEVICE_ATTR_RO/RW() helper macros Date: Fri, 11 Jun 2021 21:00:13 +0200 Message-Id: <20210611190013.225477-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210603125323.12142-3-thunder.leizhen@huawei.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'a17da115ac042fd560cba2f8e4057722cf0c42cd' Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2021-06-03 at 12:53:23 UTC, Zhen Lei wrote: > Use MTD_DEVICE_ATTR_RO/RW() helper macros instead of plain DEVICE_ATTR(), > which makes the code a bit shorter and easier to read. > > Signed-off-by: Zhen Lei Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel