diff options
author | Michał Kępień <kernel@kempniu.pl> | 2018-02-11 22:07:25 +0100 |
---|---|---|
committer | Darren Hart (VMware) <dvhart@infradead.org> | 2018-02-24 22:37:36 +0100 |
commit | 7e6f97959abedcf75d1f11989eca43a3ddc4965d (patch) | |
tree | 8c256238f922f82786fcb11a7e477cfb0bbd8977 /drivers/platform | |
parent | platform/x86: fujitsu-laptop: Clearly distinguish module parameters (diff) | |
download | linux-7e6f97959abedcf75d1f11989eca43a3ddc4965d.tar.xz linux-7e6f97959abedcf75d1f11989eca43a3ddc4965d.zip |
platform/x86: fujitsu-laptop: Do not include linux/slab.h
Do not include linux/slab.h as all module code now uses managed memory
allocations and thus neither k*alloc() nor kfree() is used.
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Reviewed-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/fujitsu-laptop.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c index 7888b779d6c5..17779b8b7f30 100644 --- a/drivers/platform/x86/fujitsu-laptop.c +++ b/drivers/platform/x86/fujitsu-laptop.c @@ -61,7 +61,6 @@ #include <linux/kfifo.h> #include <linux/leds.h> #include <linux/platform_device.h> -#include <linux/slab.h> #include <acpi/video.h> #define FUJITSU_DRIVER_VERSION "0.6.0" |