Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754575AbcKLV6d (ORCPT ); Sat, 12 Nov 2016 16:58:33 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35181 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932453AbcKLV4E (ORCPT ); Sat, 12 Nov 2016 16:56:04 -0500 Subject: Re: [PATCH 01/11] mtd: nand: denali: remove unneeded includes To: Masahiro Yamada , linux-mtd@lists.infradead.org References: <1478666130-13413-1-git-send-email-yamada.masahiro@socionext.com> <1478666130-13413-2-git-send-email-yamada.masahiro@socionext.com> Cc: Boris Brezillon , David Woodhouse , Richard Weinberger , Jason Roberts , linux-kernel@vger.kernel.org, Chuanxiao Dong , Cyrille Pitchen , Brian Norris , David Woodhouse , Dinh Nguyen , Alan Cox From: Marek Vasut Message-ID: <94e0b7c7-ab2e-c7a7-fcf3-a7c4bd123008@gmail.com> Date: Sat, 12 Nov 2016 22:28:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <1478666130-13413-2-git-send-email-yamada.masahiro@socionext.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1570 Lines: 57 On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > The driver calls devm_kzalloc()/devm_kfree() to allocate/free memory. > They are declared in , not in . > > Signed-off-by: Masahiro Yamada Reviewed-by: Marek Vasut > --- > > drivers/mtd/nand/denali.c | 1 - > drivers/mtd/nand/denali_dt.c | 1 - > drivers/mtd/nand/denali_pci.c | 1 - > 3 files changed, 3 deletions(-) > > diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c > index 7e2c650..062d5b5 100644 > --- a/drivers/mtd/nand/denali.c > +++ b/drivers/mtd/nand/denali.c > @@ -21,7 +21,6 @@ > #include > #include > #include > -#include > #include > #include > > diff --git a/drivers/mtd/nand/denali_dt.c b/drivers/mtd/nand/denali_dt.c > index f821dc1..5607fcd 100644 > --- a/drivers/mtd/nand/denali_dt.c > +++ b/drivers/mtd/nand/denali_dt.c > @@ -21,7 +21,6 @@ > #include > #include > #include > -#include > > #include "denali.h" > > diff --git a/drivers/mtd/nand/denali_pci.c b/drivers/mtd/nand/denali_pci.c > index de31514..ac84323 100644 > --- a/drivers/mtd/nand/denali_pci.c > +++ b/drivers/mtd/nand/denali_pci.c > @@ -14,7 +14,6 @@ > #include > #include > #include > -#include > > #include "denali.h" > > -- Best regards, Marek Vasut