[U-Boot] [PATCH v3 01/18] cros_ec: Use a hyphen in the uclass name

Bin Meng bmeng.cn at gmail.com
Tue May 7 09:10:29 UTC 2019


On Fri, May 3, 2019 at 12:52 AM Simon Glass <sjg at chromium.org> wrote:
>
> Device-tree rules require that aliases use a hyphen rather than a
> underscore. Update the uclass name to fit with this.
>
> This allows device-tree aliases to be used to refer to cros-ec devices,
> for example:
>
>         aliases {
>             cros-ec0 = &ec;
>             cros-ec1 = &pd;
>         };
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3: None
> Changes in v2:
> - Update the commit message to explain the implications on aliases
>
>  drivers/misc/cros_ec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list