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

2022-02-08 Thread Simon Glass
On Sat, 29 Jan 2022 at 12:21, Sughosh Ganu 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 > --- > include/dm/device.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Rev

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

2022-01-30 Thread Simon Glass
On Sat, 29 Jan 2022 at 12:21, Sughosh Ganu 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 > --- > include/dm/device.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Rev

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

2022-01-29 Thread Sughosh Ganu
Use parenthesis for the device_get_ops macro argument. This prevents errors when using an expression for the parameter. Signed-off-by: Sughosh Ganu --- include/dm/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dm/device.h b/include/dm/device.h index f7900417