commit | 472a6786b071ea88144e09eeb9b2a77549d98e75 | [log] [tgz] |
---|---|---|
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | Tue Mar 24 15:45:20 2009 +0100 |
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | Thu Mar 26 14:58:59 2009 +0100 |
tree | cdfdec8e168257f9d10884f6243fe04d2f36372c | |
parent | b2a49ed0083ec5f51e9e0ed2e739b9b6259e330c [diff] |
atmel-usba-udc: use gpio_is_valid() to check vbus_pin I/O line This patch will convert to use gpio_is_valid() to check the vbus_pin platform data. It will also default to -ENODEV if no vbus_pin is defined. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>