Re: [U-Boot] [PATCH 09/14] dm: omap: gpio: Support driver model

2014-10-22 Thread Tom Rini
On Mon, Sep 22, 2014 at 09:48:49AM -0600, Simon Glass wrote: 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

[U-Boot] [PATCH 09/14] dm: omap: gpio: Support driver model

2014-09-22 Thread Simon Glass
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