commit | 1a96d7f0d04973795af119a560091296b41b7c9b | [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 | ba33a3f95f9b6952d06a1719e4a5cd26393029f7 [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>