summaryrefslogtreecommitdiffstats
path: root/drivers/input/rmi4/rmi_bus.h
diff options
context:
space:
mode:
authorAndrew Duggan <aduggan@synaptics.com>2016-03-10 15:46:32 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-03-10 16:02:41 -0800
commitd8a8b3edfd922e3886684a3434bd2b752167ff29 (patch)
tree7a43bd47dfdab7f209bf6aa68698401db679241d /drivers/input/rmi4/rmi_bus.h
parentfdf51604f104f95bbb828019e6b8f17e7a0f834a (diff)
downloadlinux-d8a8b3edfd922e3886684a3434bd2b752167ff29.tar.bz2
Input: synaptics-rmi4 - add device tree support for RMI4 I2C devices
Add devicetree binding for I2C devices and add bindings for optional parameters in the function drivers. Parameters for function drivers are defined in child nodes for each of the functions. Signed-off-by: Andrew Duggan <aduggan@synaptics.com> Acked-by: Rob Herring <robh@kernel.org> Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Tested-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/rmi4/rmi_bus.h')
-rw-r--r--drivers/input/rmi4/rmi_bus.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/input/rmi4/rmi_bus.h b/drivers/input/rmi4/rmi_bus.h
index 13b148d44b37..899579830536 100644
--- a/drivers/input/rmi4/rmi_bus.h
+++ b/drivers/input/rmi4/rmi_bus.h
@@ -172,10 +172,6 @@ extern struct bus_type rmi_bus_type;
int rmi_of_property_read_u32(struct device *dev, u32 *result,
const char *prop, bool optional);
-int rmi_of_property_read_u16(struct device *dev, u16 *result,
- const char *prop, bool optional);
-int rmi_of_property_read_u8(struct device *dev, u8 *result,
- const char *prop, bool optional);
#define RMI_DEBUG_CORE BIT(0)
#define RMI_DEBUG_XPORT BIT(1)