commit | 63acf9719b0550fef44ac432dc31d4ffa4c0df21 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Tue May 10 12:56:58 2011 -0400 |
committer | Mike Frysinger <vapier@gentoo.org> | Tue Jul 12 02:17:45 2011 -0400 |
tree | 8717427f06e5ac86318f687936c91668187ba5cc | |
parent | b8c6e63384aa370498f6e7df538b2a66e30ce968 [diff] |
Blackfin: gpio: optimize free path a little When we aren't doing resource tracking, the gpio_free() function is a stub that simply returns, so pull this logic up a level and make it an inline stub in the header. Now we don't have to waste time at any of the call sites. Signed-off-by: Mike Frysinger <vapier@gentoo.org>