diff options
author | Tejun Heo <tj@kernel.org> | 2008-07-31 17:02:41 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-29 00:22:30 -0400 |
commit | aadffb682cc5572f48cc24883681db65530bd284 (patch) | |
tree | 24ab92ec9b0cdd9e6f4c0bf7a8a4c04635be03db /drivers/pnp | |
parent | 82ef04fb4c82542b3eda81cca461f0594ce9cd0b (diff) |
libata: reimplement link iterator
Implement __ata_port_next_link() and reimplement
__ata_port_for_each_link() and ata_port_for_each_link() using it.
This removes relatively large inlined code and makes iteration easier
to extend.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions