]> git.karo-electronics.de Git - linux-beck.git/commit
staging: mei: io_list functions revamp
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 6 Jun 2011 07:44:34 +0000 (10:44 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 20:21:33 +0000 (13:21 -0700)
commit0288c7c9754d45531944992e8731d1ee9c59ecc3
treec5034ac144f0f44d5a50ff2140ae14aa4cf091a0
parentcf9673dad4dd76ecdccd265809921ceed752f19e
staging: mei: io_list functions revamp

1. remove list used for loop. There were only 2 loops used in non
   time critical places so we can safely unroll them
2. normalize functions names operating on io_list to mei_io_list_<op>
3. rename mei_fe_same_id to mei_cl_cmp_id  used for comparing list
   elements containing struct mei_cl
4. group together  io_list functions in the header file

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Oren Weil <oren.jer.weil@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/mei/init.c
drivers/staging/mei/interrupt.c
drivers/staging/mei/iorw.c
drivers/staging/mei/main.c
drivers/staging/mei/mei_dev.h