diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-11-09 13:35:20 +0900 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-11-19 09:30:55 +0100 |
commit | ef5327dc2597bbf806393d5edca54b2f059e0e69 (patch) | |
tree | 5bda2f457f7f886ffb68e3be7b0b6628adc014cd /drivers/mtd/nand/denali_pci.c | |
parent | 83f48f80de8a03c053ff0cac1521c1eaeaa107f2 (diff) | |
download | op-kernel-dev-ef5327dc2597bbf806393d5edca54b2f059e0e69.zip op-kernel-dev-ef5327dc2597bbf806393d5edca54b2f059e0e69.tar.gz |
mtd: nand: denali: remove unneeded <linux/slab.h> includes
The driver calls devm_kzalloc()/devm_kfree() to allocate/free memory.
They are declared in <linux/device.h>, not in <linux/slab.h>.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand/denali_pci.c')
-rw-r--r-- | drivers/mtd/nand/denali_pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> -#include <linux/slab.h> #include "denali.h" |