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_dt.c | |
parent | 83f48f80de8a03c053ff0cac1521c1eaeaa107f2 (diff) | |
download | linux-ef5327dc2597bbf806393d5edca54b2f059e0e69.tar.bz2 |
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_dt.c')
-rw-r--r-- | drivers/mtd/nand/denali_dt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/denali_dt.c b/drivers/mtd/nand/denali_dt.c index f821dc1c5739..5607fcd3b8ed 100644 --- a/drivers/mtd/nand/denali_dt.c +++ b/drivers/mtd/nand/denali_dt.c @@ -21,7 +21,6 @@ #include <linux/platform_device.h> #include <linux/of.h> #include <linux/of_device.h> -#include <linux/slab.h> #include "denali.h" |