diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-01-07 08:50:34 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-09-23 10:31:40 +0200 |
commit | 6c0e59fcd9bfc258c2ec4cad4971352a17a58411 (patch) | |
tree | ac1f56fc9fc0d8afd85e2e5f7abb4e8d98206c78 /drivers/i2c | |
parent | 28c851f12847096dbe7a4e480d1092630cd01936 (diff) | |
download | u-boot-6c0e59fcd9bfc258c2ec4cad4971352a17a58411.zip u-boot-6c0e59fcd9bfc258c2ec4cad4971352a17a58411.tar.gz u-boot-6c0e59fcd9bfc258c2ec4cad4971352a17a58411.tar.bz2 |
xilinx: drivers: Use '_' instead of '-' in driver name
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/i2c-cdns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-cdns.c b/drivers/i2c/i2c-cdns.c index 024c63c..7144d39 100644 --- a/drivers/i2c/i2c-cdns.c +++ b/drivers/i2c/i2c-cdns.c @@ -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, |