1. 29 12月, 2010 4 次提交
    • M
      [media] rc: Name RC keymap tables as rc_map_table · 2f4f58d6
      Mauro Carvalho Chehab 提交于
      Remote keytables had different names all over the place. Part of the fault
      is due to a bad naming when rc subsystem was created, but there were lots
      of old names that were still here.
      
      Use a common standard for everything.
      
      Patch generated by this script:
      
      for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,ir_scancode,rc_map_table,g <$i >a && mv a $i; done
      for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,ir_codes_,rc_map_,g <$i >a && mv a $i; done
      for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,rc_key_map,rc_map_table,g <$i >a && mv a $i; done
      for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,rc_map_table_size,rc_map_size,g <$i >a && mv a $i; done
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      2f4f58d6
    • M
      [media] rc: Rename remote controller type to rc_type instead of ir_type · 52b66144
      Mauro Carvalho Chehab 提交于
      for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,IR_TYPE,RC_TYPE,g <$i >a && mv a $i; done
      for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,ir_type,rc_type,g <$i >a && mv a $i; done
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      52b66144
    • M
      [media] rc: rename the remaining things to rc_core · 6bda9644
      Mauro Carvalho Chehab 提交于
      The Remote Controller subsystem is meant to be used not only by Infra Red
      but also for similar types of Remote Controllers. The core is not specific
      to Infra Red. As such, rename:
      	- ir-core.h to rc-core.h
      	- IR_CORE to RC_CORE
      	- namespace inside rc-core.c/rc-core.h
      
      To be consistent with the other changes.
      
      No functional change on this patch.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      6bda9644
    • M