[PATCH 00/12] staging: ks7010: clean michael_mic header and source files

Sergio Paracuellos sergio.paracuellos at gmail.com
Thu Mar 22 19:19:11 UTC 2018


The following patch series clean michael_mic source and header files. Changes are
as follows:

* avoid camel cases in some structs and function definitions
* replace macros with inline functions
* use u8 type replacing some uint8_t types and avoid some no more
needed casts.

Sergio Paracuellos (12):
  staging: ks7010: use lower case names in michael_mic_t struct fields
  staging: ks7010: avoid camel cases in MichaelMICFunction
  staging: ks7010: avoid camel cases for MichaelInitFunction
  staging: ks7010: avoid camel cases in MichaelAppend function
  staging: ks7010: replace macro MichaelClear with inline function
  staging: ks7010: avoid camel cases in MichaelGetMIC function
  staging: ks7010: replace PutUInt32 macro with an inline function
  staging: ks7010: replace GetUInt32 macro with inline function
  staging: ks7010: replace MichaelBlockFunction macro with inline
    function
  staging: ks7010: replace uint8_t in favour of u8 in michael_init
  staging: ks7010: replace uint8_t in favour of u8 in michael_append
  staging: ks7010: replace uint8_t in favour of u8 in michael_get_mic

 drivers/staging/ks7010/ks_hostif.c   |  28 +++----
 drivers/staging/ks7010/michael_mic.c | 147 +++++++++++++++++------------------
 drivers/staging/ks7010/michael_mic.h |  19 +++--
 3 files changed, 96 insertions(+), 98 deletions(-)

-- 
2.7.4



More information about the devel mailing list