mailbox: mailbox-test: fix the compatible string
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 19 Feb 2016 16:01:16 +0000 (16:01 +0000)
committerJassi Brar <jaswinder.singh@linaro.org>
Fri, 4 Mar 2016 07:02:18 +0000 (12:32 +0530)
Underscores are usually forbidden in the compatible strings. So lets
remove it before the first users of this is seen.

Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Documentation/devicetree/bindings/mailbox/sti-mailbox.txt
drivers/mailbox/mailbox-test.c

index b61eec9..351f612 100644 (file)
@@ -44,7 +44,7 @@ Optional properties
 Example:
 
 mailbox_test {
-       compatible      = "mailbox_test";
+       compatible      = "mailbox-test";
        reg             = <0x[shared_memory_address], [shared_memory_size]>;
        mboxes          = <&mailbox2 0 1>, <&mailbox0 2 1>;
        mbox-names      = "tx", "rx";
index 3813f6d..036a852 100644 (file)
@@ -342,7 +342,7 @@ static int mbox_test_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id mbox_test_match[] = {
-       { .compatible = "mailbox_test" },
+       { .compatible = "mailbox-test" },
        {},
 };