commit | 5915a2ad0da6086892c587442d4eabd681f987b5 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Oct 22 21:37:09 2014 -0600 |
committer | Simon Glass <sjg@chromium.org> | Thu Oct 23 19:29:07 2014 -0600 |
tree | 69b0d10e184029de8606178bc2ec7a82e01e8287 | |
parent | d57b61143d8c74dee392fc5be52cb6ec5a15b8fc [diff] |
dm: omap: gpio: Support driver model Add driver model support to this driver, while retaining support for the legacy system. Driver model GPIO support is enabled with CONFIG_DM_GPIO as usual. Since gpio_is_valid() no longer exists, we can use the -EINVAL error returned from gpio_request(). Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@ti.com>