~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/dca/dca-core.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
        /* at this point only one domain in the list is expected */
112
112
        domain = list_first_entry(&dca_domains, struct dca_domain, node);
113
113
 
114
 
        list_for_each_entry_safe(dca, _dca, &domain->dca_providers, node) {
115
 
                list_del(&dca->node);
116
 
                list_add(&dca->node, &unregistered_providers);
117
 
        }
 
114
        list_for_each_entry_safe(dca, _dca, &domain->dca_providers, node)
 
115
                list_move(&dca->node, &unregistered_providers);
118
116
 
119
117
        dca_free_domain(domain);
120
118