From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Brezillon Subject: Re: [PATCH v2 3/3] mtd: nand: Remove unused chip->write_page() hook Date: Tue, 7 Mar 2017 19:34:41 +0100 Message-ID: <20170307193441.0c6fd555@bbrezillon> References: <1487593718-20752-1-git-send-email-boris.brezillon@free-electrons.com> <1487593718-20752-4-git-send-email-boris.brezillon@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Masahiro Yamada Cc: Mark Rutland , devicetree@vger.kernel.org, Brian Norris , Pawel Moll , Ian Campbell , Richard Weinberger , Kumar Gala , Nicolas Ferre , Linux Kernel Mailing List , Wenyou Yang , Marek Vasut , Rob Herring , Alexandre Belloni , Josh Wu , linux-mtd@lists.infradead.org, Cyrille Pitchen , Haavard Skinnemoen , David Woodhouse , linux-arm-kernel , Hans-Christian Egtvedt List-Id: devicetree@vger.kernel.org On Tue, 7 Mar 2017 21:04:50 +0900 Masahiro Yamada wrote: > Hi Boris, > > 2017-02-20 21:28 GMT+09:00 Boris Brezillon : > > The last/only user of the chip->write_page() hook (the Atmel NAND > > controller driver) has been reworked and is no longer specifying a custom > > ->write_page() implementation. > > Drop this hook before someone else start abusing it. > > > > Signed-off-by: Boris Brezillon > > > Just a minor comment. > > > /** > * nand_write_page - [REPLACEABLE] write one page > * @mtd: MTD device structure > > > Can you update the comment block for nand_write_page(), too? > > [REPLACEABLE] -> [INTERNAL] I think I'll just drop it, it does not mean anything to flag a static function as replaceable (the ->write_page() method could be overloaded, but not the nand_write_page() implementation itself).