commit | 74d6c9ac0d8427457ee17404fd4bc5f119240bc7 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Thu Jun 04 16:01:39 2020 -0400 |
committer | Lokesh Vutla <lokeshvutla@ti.com> | Tue Jun 16 17:00:02 2020 +0530 |
tree | c1fda9d5dd4c78cee5cc2dfb5efb624508b60c7c | |
parent | dc467f9dfcd4c9a89345a410f01220dc8fcdc770 [diff] |
gpio: omap_gpio: Fix unused function warning in non-DM case 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 <lokeshvutla@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>