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 b61eec92035906c807bf82c17f49e7920a0c3f4d..351f612673fc5368ba3d4f8116114fbdd2fb5659 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 3813f6d9eba9a0a560d699513a33d9548341717a..036a852b5fa1c12d2491e7b185a833981fbfd748 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" },
        {},
 };