[PATCH] xilinx: drivers: Use '_' instead of '-' in driver name

Simon Glass sjg at chromium.org
Tue Aug 25 17:04:28 CEST 2020


On Mon, 24 Aug 2020 at 06:15, Michal Simek <michal.simek at xilinx.com> wrote:
>
> 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 at xilinx.com>
> ---
>
> Simon: Not sure what's the standard here but I have done some greps and it
> looks like that most of drivers are using _ instead of -.
> ---
>  drivers/clk/clk_zynqmp.c           | 2 +-
>  drivers/firmware/firmware-zynqmp.c | 2 +-
>  drivers/i2c/i2c-cdns.c             | 2 +-
>  drivers/mailbox/zynqmp-ipi.c       | 2 +-
>  drivers/mtd/nand/raw/arasan_nfc.c  | 2 +-
>  drivers/mtd/nand/raw/zynq_nand.c   | 2 +-
>  6 files changed, 6 insertions(+), 6 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Bonus points if you can update checkpatch.pl to catch it


More information about the U-Boot mailing list