summaryrefslogtreecommitdiff
path: root/drivers/auxdisplay
diff options
context:
space:
mode:
authorMianhan Liu <liumh1@shanghaitech.edu.cn>2021-09-29 03:15:09 +0800
committerMiguel Ojeda <ojeda@kernel.org>2021-10-22 00:07:29 +0200
commit1515b849f726f60dfff5c0bde2b0713cac26dd6c (patch)
treeb73406ccbdb9cd972375e52d4900214c533c74ef /drivers/auxdisplay
parent2b7ea42e7e29cc6c96f255a5c5289630ca612be0 (diff)
downloadlwn-1515b849f726f60dfff5c0bde2b0713cac26dd6c.tar.gz
lwn-1515b849f726f60dfff5c0bde2b0713cac26dd6c.zip
auxdisplay: ht16k33: remove superfluous header files
ht16k33.c doesn't use any macro or function declared in linux/slab.h. Thus, these files can be removed from ht16k33.c safely without affecting the compilation. Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn> Acked-by: Robin van der Gracht <robin@protonic.nl> [reworded] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'drivers/auxdisplay')
-rw-r--r--drivers/auxdisplay/ht16k33.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/auxdisplay/ht16k33.c b/drivers/auxdisplay/ht16k33.c
index 1134ae9f30de..4fab3b2c7023 100644
--- a/drivers/auxdisplay/ht16k33.c
+++ b/drivers/auxdisplay/ht16k33.c
@@ -14,7 +14,6 @@
#include <linux/i2c.h>
#include <linux/property.h>
#include <linux/fb.h>
-#include <linux/slab.h>
#include <linux/backlight.h>
#include <linux/input.h>
#include <linux/input/matrix_keypad.h>