projects
/
platform
/
kernel
/
linux-exynos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'synaptics-rmi4' into next
[platform/kernel/linux-exynos.git]
/
drivers
/
input
/
rmi4
/
rmi_bus.c
diff --git
a/drivers/input/rmi4/rmi_bus.c
b/drivers/input/rmi4/rmi_bus.c
index
8f4ca86
..
ae1bffe
100644
(file)
--- a/
drivers/input/rmi4/rmi_bus.c
+++ b/
drivers/input/rmi4/rmi_bus.c
@@
-9,7
+9,6
@@
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/device.h>
-#include <linux/kconfig.h>
#include <linux/list.h>
#include <linux/pm.h>
#include <linux/rmi.h>
#include <linux/list.h>
#include <linux/pm.h>
#include <linux/rmi.h>
@@
-56,7
+55,7
@@
static void rmi_release_device(struct device *dev)
kfree(rmi_dev);
}
kfree(rmi_dev);
}
-static struct device_type rmi_device_type = {
+static
const
struct device_type rmi_device_type = {
.name = "rmi4_sensor",
.release = rmi_release_device,
};
.name = "rmi4_sensor",
.release = rmi_release_device,
};
@@
-135,7
+134,7
@@
static void rmi_release_function(struct device *dev)
kfree(fn);
}
kfree(fn);
}
-static struct device_type rmi_function_type = {
+static
const
struct device_type rmi_function_type = {
.name = "rmi4_function",
.release = rmi_release_function,
};
.name = "rmi4_function",
.release = rmi_release_function,
};