]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: drivers: Use '_' instead of '-' in driver name
authorMichal Simek <michal.simek@xilinx.com>
Tue, 7 Jan 2020 07:50:34 +0000 (08:50 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Sep 2020 08:31:40 +0000 (10:31 +0200)
The most of drivers are using '_' instead of '-' in driver name. That's why
sync up these names to be aligned. It looks quite bad to see both in use.
It is visible via dm tree command.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/clk/clk_zynqmp.c
drivers/firmware/firmware-zynqmp.c
drivers/i2c/i2c-cdns.c
drivers/mailbox/zynqmp-ipi.c
drivers/mtd/nand/raw/arasan_nfc.c
drivers/mtd/nand/raw/zynq_nand.c

index 2313ac0bc0442c9696ed841d0a044728bd73a3da..779511975662d6a92bc3e07a96dfbc516bf11016 100644 (file)
@@ -710,7 +710,7 @@ static const struct udevice_id zynqmp_clk_ids[] = {
 };
 
 U_BOOT_DRIVER(zynqmp_clk) = {
-       .name = "zynqmp-clk",
+       .name = "zynqmp_clk",
        .id = UCLASS_CLK,
        .of_match = zynqmp_clk_ids,
        .probe = zynqmp_clk_probe,
index 903a8f5878203a5e7216929ab527a40dc471edbd..7583f24a200dab60c534f2158e906dbf8a05b02b 100644 (file)
@@ -202,6 +202,6 @@ static const struct udevice_id zynqmp_firmware_ids[] = {
 
 U_BOOT_DRIVER(zynqmp_firmware) = {
        .id = UCLASS_FIRMWARE,
-       .name = "zynqmp-firmware",
+       .name = "zynqmp_firmware",
        .of_match = zynqmp_firmware_ids,
 };
index 024c63c4eaedbb7fa6c5a1797a55b9e35752b8e3..7144d39984ec99428cd4b4cae390ec2630e5b92c 100644 (file)
@@ -500,7 +500,7 @@ static const struct udevice_id cdns_i2c_of_match[] = {
 };
 
 U_BOOT_DRIVER(cdns_i2c) = {
-       .name = "i2c-cdns",
+       .name = "i2c_cdns",
        .id = UCLASS_I2C,
        .of_match = cdns_i2c_of_match,
        .ofdata_to_platdata = cdns_i2c_ofdata_to_platdata,
index 746377e557cb69e398e8e5dd3e3b3ed2cbf0d80f..9483ed9cefcf17b3e161086335dcf91a4ae615ee 100644 (file)
@@ -133,7 +133,7 @@ struct mbox_ops zynqmp_ipi_mbox_ops = {
 };
 
 U_BOOT_DRIVER(zynqmp_ipi) = {
-       .name = "zynqmp-ipi",
+       .name = "zynqmp_ipi",
        .id = UCLASS_MAILBOX,
        .of_match = zynqmp_ipi_ids,
        .probe = zynqmp_ipi_probe,
index 6c1d64054c64bd3c72c907499a2dddbdbc8b2e2d..0615e50378093f00b6534df56991caf4c7f7e918 100644 (file)
@@ -1306,7 +1306,7 @@ static const struct udevice_id arasan_nand_dt_ids[] = {
 };
 
 U_BOOT_DRIVER(arasan_nand) = {
-       .name = "arasan-nand",
+       .name = "arasan_nand",
        .id = UCLASS_MTD,
        .of_match = arasan_nand_dt_ids,
        .probe = arasan_probe,
index fa594552109d484d38c9136ae38aaa0af42a966a..92db2aa19c8602904d649d83ae9980c406db80f2 100644 (file)
@@ -1282,7 +1282,7 @@ static const struct udevice_id zynq_nand_dt_ids[] = {
 };
 
 U_BOOT_DRIVER(zynq_nand) = {
-       .name = "zynq-nand",
+       .name = "zynq_nand",
        .id = UCLASS_MTD,
        .of_match = zynq_nand_dt_ids,
        .probe = zynq_nand_probe,