]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Input: lpc32xx_ts - fix device tree compatible string
authorRoland Stigge <stigge@antcom.de>
Tue, 24 Apr 2012 05:26:38 +0000 (22:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 24 Apr 2012 06:35:59 +0000 (23:35 -0700)
During the device tree integration of the various LPC32xx drivers,
we agreed on using non-wildcard "compatible" strings. This change
switches lpc32xx_ts touchscreen driver to use "nxp,lpc3220-tsc".

Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Documentation/devicetree/bindings/input/touchscreen/lpc32xx-tsc.txt
drivers/input/touchscreen/lpc32xx_ts.c

index d0c68e33de3a43cbaede54989fb876168908a562..41cbf4b7a670df3dd8ae3bfc5438a5be51683941 100644 (file)
@@ -1,7 +1,7 @@
 * NXP LPC32xx SoC Touchscreen Controller (TSC)
 
 Required properties:
-- compatible: must be "nxp,lpc32xx-tsc"
+- compatible: must be "nxp,lpc3220-tsc"
 - reg: physical base address of the controller and length of memory mapped
   region.
 - interrupts: The TSC/ADC interrupt
@@ -9,7 +9,7 @@ Required properties:
 Example:
 
        tsc@40048000 {
-               compatible = "nxp,lpc32xx-tsc";
+               compatible = "nxp,lpc3220-tsc";
                reg = <0x40048000 0x1000>;
                interrupt-parent = <&mic>;
                interrupts = <39 0>;
index e8fccbc452dbc66c0f5007ebc5bcdc7d2c37a726..4c2b8ed3bf16cc8f757552cfe2d5e59d51dc9988 100644 (file)
@@ -386,7 +386,7 @@ static const struct dev_pm_ops lpc32xx_ts_pm_ops = {
 
 #ifdef CONFIG_OF
 static struct of_device_id lpc32xx_tsc_of_match[] = {
-       { .compatible = "nxp,lpc32xx-tsc", },
+       { .compatible = "nxp,lpc3220-tsc", },
        { },
 };
 MODULE_DEVICE_TABLE(of, lpc32xx_tsc_of_match);