From 2ae0bc225bd7b500b54ed462861419c71621628e Mon Sep 17 00:00:00 2001
From: Cosmin Tanislav <demonsingur@gmail.com>
Date: Tue, 7 Sep 2021 14:21:18 +0300
Subject: [PATCH] sm8350-common: remove unused keylayout and idc files

---
 common.mk                  |  8 +-------
 idc/uinput-fpc.idc         | 15 ---------------
 idc/uinput-goodix.idc      | 15 ---------------
 keylayout/uinput-fpc.kl    | 14 --------------
 keylayout/uinput-goodix.kl | 13 -------------
 5 files changed, 1 insertion(+), 64 deletions(-)
 delete mode 100644 idc/uinput-fpc.idc
 delete mode 100644 idc/uinput-goodix.idc
 delete mode 100644 keylayout/uinput-fpc.kl
 delete mode 100644 keylayout/uinput-goodix.kl

diff --git a/common.mk b/common.mk
index 4e0013a..e3f3cc3 100644
--- a/common.mk
+++ b/common.mk
@@ -246,13 +246,7 @@ PRODUCT_COPY_FILES += \
 
 # Input
 PRODUCT_COPY_FILES += \
-    $(LOCAL_PATH)/idc/uinput-fpc.idc:system/usr/idc/uinput-fpc.idc \
-    $(LOCAL_PATH)/idc/uinput-goodix.idc:system/usr/idc/uinput-goodix.idc
-
-PRODUCT_COPY_FILES += \
-    $(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
-    $(LOCAL_PATH)/keylayout/uinput-fpc.kl:system/usr/keylayout/uinput-fpc.kl \
-    $(LOCAL_PATH)/keylayout/uinput-goodix.kl:system/usr/keylayout/uinput-goodix.kl
+    $(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl
 
 # IPACM
 PRODUCT_PACKAGES += \
diff --git a/idc/uinput-fpc.idc b/idc/uinput-fpc.idc
deleted file mode 100644
index 4cb1a4a..0000000
--- a/idc/uinput-fpc.idc
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# FPC1020 Touch sensor driver
-#
-# Copyright (c) 2013,2014 Fingerprint Cards AB <tech@fingerprints.com>
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License Version 2
-# as published by the Free Software Foundation.
-#
-
-device.internal = 1
-
-keyboard.layout = uinput-fpc
-keyboard.builtIn = 1
-keyboard.orientationAware = 1
diff --git a/idc/uinput-goodix.idc b/idc/uinput-goodix.idc
deleted file mode 100644
index 88fbe7a..0000000
--- a/idc/uinput-goodix.idc
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# FPC1020 Touch sensor driver
-#
-# Copyright (c) 2013,2014 Fingerprint Cards AB <tech@fingerprints.com>
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License Version 2
-# as published by the Free Software Foundation.
-#
-
-device.internal = 1
-
-keyboard.layout = uinput-gf
-keyboard.builtIn = 1
-keyboard.orientationAware = 1
diff --git a/keylayout/uinput-fpc.kl b/keylayout/uinput-fpc.kl
deleted file mode 100644
index 4fc2161..0000000
--- a/keylayout/uinput-fpc.kl
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# FPC1020 Touch sensor driver
-#
-# Copyright (c) 2013,2014 Fingerprint Cards AB <tech@fingerprints.com>
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License Version 2
-# as published by the Free Software Foundation.
-#
-
-#key 96   DPAD_CENTER
-#key 102   HOME
-#key 105   DPAD_LEFT
-#key 106   DPAD_RIGHT
diff --git a/keylayout/uinput-goodix.kl b/keylayout/uinput-goodix.kl
deleted file mode 100644
index a63b9a0..0000000
--- a/keylayout/uinput-goodix.kl
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# Goodix fingerprint sensor driver
-#
-# Copyright (c) 2013,2014 Fingerprint Cards AB <tech@fingerprints.com>
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License Version 2
-# as published by the Free Software Foundation.
-#
-#key 96  DPAD_CENTER
-#key 102   HOME
-#key 105   DPAD_LEFT
-#key 106   DPAD_RIGHT
-- 
GitLab