Re: [PATCH] gpio: omap_gpio: Fix unused function warning in non-DM case

2020-06-18 Thread Lokesh Vutla
On 05/06/20 1:31 am, Tom Rini wrote: > In the case of non-DM_GPIO the function get_gpio_index() will never be > called, and clang will warn about this. Move this to be with the other > non-DM code for easier removal later. > > Cc: Lokesh Vutla > Signed-off-by: Tom Rini Applied to u-boot-ti

Re: [PATCH] gpio: omap_gpio: Fix unused function warning in non-DM case

2020-06-04 Thread Lokesh Vutla
On 05/06/20 1:31 am, Tom Rini wrote: > In the case of non-DM_GPIO the function get_gpio_index() will never be > called, and clang will warn about this. Move this to be with the other > non-DM code for easier removal later. > > Cc: Lokesh Vutla > Signed-off-by: Tom Rini Reviewed-by: Lokesh V

[PATCH] gpio: omap_gpio: Fix unused function warning in non-DM case

2020-06-04 Thread Tom Rini
In the case of non-DM_GPIO the function get_gpio_index() will never be called, and clang will warn about this. Move this to be with the other non-DM code for easier removal later. Cc: Lokesh Vutla Signed-off-by: Tom Rini --- drivers/gpio/omap_gpio.c | 9 - 1 file changed, 4 insertions(