summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/denali_pci.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-11-09 13:35:20 +0900
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-11-19 09:30:55 +0100
commitef5327dc2597bbf806393d5edca54b2f059e0e69 (patch)
tree5bda2f457f7f886ffb68e3be7b0b6628adc014cd /drivers/mtd/nand/denali_pci.c
parent83f48f80de8a03c053ff0cac1521c1eaeaa107f2 (diff)
downloadop-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.c1
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"
OpenPOWER on IntegriCloud