[PATCH] dm: Use parenthesis for the device_get_ops macro argument

Simon Glass sjg at chromium.org
Mon Jan 31 00:14:35 CET 2022


On Sat, 29 Jan 2022 at 12:21, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
>
> Use parenthesis for the device_get_ops macro argument. This prevents
> errors when using an expression for the parameter.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
>  include/dm/device.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

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


More information about the U-Boot mailing list